diff options
author | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-10-26 21:31:48 +0000 |
---|---|---|
committer | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-10-26 21:31:48 +0000 |
commit | 43e3429260fc5d8d5f4f7586abb663139191e575 (patch) | |
tree | 6bbb242076edc610e55a95add9e78735db703e45 /testsuites/libtests/rtmonuse/task1.c | |
parent | 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com> (diff) | |
download | rtems-43e3429260fc5d8d5f4f7586abb663139191e575.tar.bz2 |
2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* cpuuse/task2.c, rtmonuse/rtmonuse.scn, rtmonuse/task1.c: Add new
cases for untested routines.
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/rtmonuse/task1.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/testsuites/libtests/rtmonuse/task1.c b/testsuites/libtests/rtmonuse/task1.c index 083a514555..b69bd412e7 100644 --- a/testsuites/libtests/rtmonuse/task1.c +++ b/testsuites/libtests/rtmonuse/task1.c @@ -106,12 +106,23 @@ rtems_task Task_1_through_5( FLUSH_OUTPUT(); if ( pass == 10 ) { - puts( "*** END OF RATE MONOTONIC PERIOD STATISTICS TEST ***" ); puts( "" ); - rtems_cpu_usage_report(); + rtems_rate_monotonic_report_statistics(); + + rtems_rate_monotonic_reset_statistics( rmid ); + puts( "" ); + puts( "TA5 - PERIOD STATISTICS RESET" ); + puts( "" ); + rtems_rate_monotonic_report_statistics(); + + rtems_rate_monotonic_reset_all_statistics(); + puts( "" ); + puts( "TA5 - ALL PERIOD STATISTICS RESET" ); puts( "" ); rtems_rate_monotonic_report_statistics(); + puts( "" ); + puts( "*** END OF RATE MONOTONIC PERIOD STATISTICS TEST ***" ); rtems_test_exit( 0 ); } |