summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/rtmonuse/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-15 20:17:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-15 20:17:39 +0000
commit81ee9944881698f1fed1cb38188e4c50c5e8c601 (patch)
tree3397d59b35afcc6aac53ef4429d5459606454006 /testsuites/libtests/rtmonuse/init.c
parent2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-81ee9944881698f1fed1cb38188e4c50c5e8c601.tar.bz2
2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtmonuse/init.c, rtmonuse/task1.c: Integrate Rate Monotonic Statistics and Period Usage into Rate Monotonic Manager. Added the following directives: rtems_rate_monotonic_get_statistics, rtems_rate_monotonic_reset_statistics, rtems_rate_montonic_reset_all_statistics, rtems_rate_montonic_report_statistics, and rtems_object_get_name. Obsoleted the rtems/rtmonuse.h file as a public interface.
Diffstat (limited to 'testsuites/libtests/rtmonuse/init.c')
-rw-r--r--testsuites/libtests/rtmonuse/init.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/testsuites/libtests/rtmonuse/init.c b/testsuites/libtests/rtmonuse/init.c
index a634e3f897..a0b9201393 100644
--- a/testsuites/libtests/rtmonuse/init.c
+++ b/testsuites/libtests/rtmonuse/init.c
@@ -11,7 +11,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -24,17 +24,14 @@
#define TEST_INIT
#include "system.h"
-#include <rtems/rtmonuse.h>
-
rtems_task Init(
rtems_task_argument argument
)
{
- uint32_t index;
+ uint32_t index;
rtems_status_code status;
puts( "\n\n*** RATE MONOTONIC PERIOD STATISTICS TEST ***" );
- Period_usage_Initialize();
Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
Task_name[ 2 ] = rtems_build_name( 'T', 'A', '2', ' ' );