diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-31 16:47:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-31 16:47:18 +0000 |
commit | 4074e70b0390d25b184b1187b8a8c59cf7ead79b (patch) | |
tree | 59fb0f95377c8e1b71234c5059a76c138deae15c /testsuites/tmtests/tm29/task1.c | |
parent | 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-4074e70b0390d25b184b1187b8a8c59cf7ead79b.tar.bz2 |
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c,
tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c,
tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c,
tmoverhd/testtask.c: Rename timer driver methods to follow RTEMS
programming conventions.
Diffstat (limited to 'testsuites/tmtests/tm29/task1.c')
-rw-r--r-- | testsuites/tmtests/tm29/task1.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/testsuites/tmtests/tm29/task1.c b/testsuites/tmtests/tm29/task1.c index 8c078d668f..e916aa213b 100644 --- a/testsuites/tmtests/tm29/task1.c +++ b/testsuites/tmtests/tm29/task1.c @@ -39,9 +39,9 @@ rtems_task Init( Period_name = rtems_build_name( 'P', 'R', 'D', ' ' ); - Timer_initialize(); + benchmark_timerinitialize(); (void) rtems_rate_monotonic_create( Period_name, &id ); - end_time = Read_timer(); + end_time = benchmark_timerread(); put_time( "rtems_rate_monotonic_create", @@ -51,9 +51,9 @@ rtems_task Init( CALLING_OVERHEAD_RATE_MONOTONIC_CREATE ); - Timer_initialize(); + benchmark_timerinitialize(); (void) rtems_rate_monotonic_period( id, 10 ); - end_time = Read_timer(); + end_time = benchmark_timerread(); put_time( "rtems_rate_monotonic_period: initiate period -- returns to caller", @@ -63,9 +63,9 @@ rtems_task Init( CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD ); - Timer_initialize(); + benchmark_timerinitialize(); (void) rtems_rate_monotonic_period( id, RTEMS_PERIOD_STATUS ); - end_time = Read_timer(); + end_time = benchmark_timerread(); put_time( "rtems_rate_monotonic_period: obtain status", @@ -75,9 +75,9 @@ rtems_task Init( CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD ); - Timer_initialize(); + benchmark_timerinitialize(); (void) rtems_rate_monotonic_cancel( id ); - end_time = Read_timer(); + end_time = benchmark_timerread(); put_time( "rtems_rate_monotonic_cancel", @@ -87,9 +87,9 @@ rtems_task Init( CALLING_OVERHEAD_RATE_MONOTONIC_CANCEL ); - Timer_initialize(); + benchmark_timerinitialize(); (void) rtems_rate_monotonic_delete( id ); - end_time = Read_timer(); + end_time = benchmark_timerread(); put_time( "rtems_rate_monotonic_delete: inactive", @@ -105,9 +105,9 @@ rtems_task Init( status = rtems_rate_monotonic_period( id, 10 ); directive_failed( status, "rtems_rate_monotonic_period" ); - Timer_initialize(); + benchmark_timerinitialize(); rtems_rate_monotonic_delete( id ); - end_time = Read_timer(); + end_time = benchmark_timerread(); put_time( "rtems_rate_monotonic_delete: active", @@ -175,7 +175,7 @@ rtems_task Tasks( Task_count++; if ( Task_count == 1 ) - Timer_initialize(); + benchmark_timerinitialize(); (void) rtems_rate_monotonic_period( id, 100 ); } @@ -186,12 +186,12 @@ rtems_task Low_task( { uint32_t index; - end_time = Read_timer(); + end_time = benchmark_timerread(); - Timer_initialize(); + benchmark_timerinitialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) - (void) Empty_function(); - overhead = Read_timer(); + (void) benchmark_timerempty_function(); + overhead = benchmark_timerread(); put_time( "rtems_rate_monotonic_period: conclude periods -- caller blocks", |