summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm19/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-31 17:21:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-31 17:21:47 +0000
commitdbf4f175ac8f47df60aa5123efbf49807b675635 (patch)
tree7ec056c5861731dd01c35784b2f5d93d5a60f5d4 /testsuites/tmtests/tm19/task1.c
parent2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-dbf4f175ac8f47df60aa5123efbf49807b675635.tar.bz2
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/Makefile.am, tm01/task1.c, tm02/Makefile.am, tm02/task1.c, tm03/Makefile.am, tm03/task1.c, tm04/Makefile.am, tm04/task1.c, tm05/Makefile.am, tm05/task1.c, tm06/Makefile.am, tm06/task1.c, tm07/Makefile.am, tm07/task1.c, tm08/Makefile.am, tm08/task1.c, tm09/Makefile.am, tm09/task1.c, tm10/Makefile.am, tm10/task1.c, tm11/Makefile.am, tm11/task1.c, tm12/Makefile.am, tm12/task1.c, tm13/Makefile.am, tm13/task1.c, tm14/Makefile.am, tm14/task1.c, tm15/Makefile.am, tm15/task1.c, tm16/Makefile.am, tm16/task1.c, tm17/Makefile.am, tm17/task1.c, tm18/Makefile.am, tm18/task1.c, tm19/Makefile.am, tm19/task1.c, tm20/Makefile.am, tm20/task1.c, tm21/Makefile.am, tm21/task1.c, tm22/Makefile.am, tm22/task1.c, tm23/Makefile.am, tm23/task1.c, tm24/Makefile.am, tm24/task1.c, tm25/Makefile.am, tm25/task1.c, tm26/Makefile.am, tm26/task1.c, tm27/Makefile.am, tm27/task1.c, tm28/Makefile.am, tm28/task1.c, tm29/Makefile.am, tm29/task1.c, tmck/Makefile.am, tmck/task1.c, tmoverhd/Makefile.am, tmoverhd/testtask.c: Eliminate empty function from every benchmark timer driver. Fix spelling.
Diffstat (limited to 'testsuites/tmtests/tm19/task1.c')
-rw-r--r--testsuites/tmtests/tm19/task1.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuites/tmtests/tm19/task1.c b/testsuites/tmtests/tm19/task1.c
index 6cacb28f07..533356ee6b 100644
--- a/testsuites/tmtests/tm19/task1.c
+++ b/testsuites/tmtests/tm19/task1.c
@@ -90,7 +90,7 @@ rtems_asr Process_asr_for_pass_1(
rtems_signal_set signals
)
{
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"rtems_signal_send: signal to self",
@@ -100,7 +100,7 @@ rtems_asr Process_asr_for_pass_1(
CALLING_OVERHEAD_SIGNAL_SEND
);
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
}
rtems_asr Process_asr_for_pass_2(
@@ -112,7 +112,7 @@ rtems_asr Process_asr_for_pass_2(
status = rtems_task_resume( Task_id[ 3 ] );
directive_failed( status, "rtems_task_resume" );
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
}
rtems_task Task_1(
@@ -121,9 +121,9 @@ rtems_task Task_1(
{
rtems_status_code status;
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
(void) rtems_signal_catch( Process_asr_for_pass_1, RTEMS_DEFAULT_MODES );
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"rtems_signal_catch",
@@ -133,9 +133,9 @@ rtems_task Task_1(
CALLING_OVERHEAD_SIGNAL_CATCH
);
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
rtems_signal_send( Task_id[ 2 ], 1 );
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"rtems_signal_send: returns to caller",
@@ -145,12 +145,12 @@ rtems_task Task_1(
CALLING_OVERHEAD_SIGNAL_SEND
);
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
(void) rtems_signal_send( RTEMS_SELF, RTEMS_SIGNAL_1 );
/* end time is done is RTEMS_ASR */
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"exit ASR overhead: returns to calling task",
@@ -163,7 +163,7 @@ rtems_task Task_1(
status = rtems_signal_catch( Process_asr_for_pass_2, RTEMS_NO_PREEMPT );
directive_failed( status, "rtems_signal_catch" );
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
(void) rtems_signal_send( RTEMS_SELF, RTEMS_SIGNAL_1 );
}
@@ -192,7 +192,7 @@ rtems_task Task_3(
{
(void) rtems_task_suspend( RTEMS_SELF );
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"exit ASR overhead: returns to preempting task",