From dbf4f175ac8f47df60aa5123efbf49807b675635 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 31 Aug 2008 17:21:47 +0000 Subject: 2008-08-31 Joel Sherrill * 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. --- testsuites/tmtests/tm21/Makefile.am | 3 ++- testsuites/tmtests/tm21/task1.c | 38 ++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 20 deletions(-) (limited to 'testsuites/tmtests/tm21') diff --git a/testsuites/tmtests/tm21/Makefile.am b/testsuites/tmtests/tm21/Makefile.am index 3e42fb2877..e9d2f25c94 100644 --- a/testsuites/tmtests/tm21/Makefile.am +++ b/testsuites/tmtests/tm21/Makefile.am @@ -5,7 +5,8 @@ MANAGERS = io dpmem message partition region semaphore rate_monotonic timer rtems_tests_PROGRAMS = tm21.exe -tm21_exe_SOURCES = task1.c system.h ../include/timesys.h +tm21_exe_SOURCES = task1.c system.h ../include/timesys.h \ + ../../support/src/tmtests_empty_function.c dist_rtems_tests_DATA = tm21.doc diff --git a/testsuites/tmtests/tm21/task1.c b/testsuites/tmtests/tm21/task1.c index 59cb16ad4a..03dc212556 100644 --- a/testsuites/tmtests/tm21/task1.c +++ b/testsuites/tmtests/tm21/task1.c @@ -123,15 +123,15 @@ rtems_task Task_1( directive_failed( status, "rtems_rate_monotonic_create" ); } - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) - (void) benchmark_timerempty_function(); - overhead = benchmark_timerread(); + (void) benchmark_timer_empty_function(); + overhead = benchmark_timer_read(); - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_task_ident( index, RTEMS_SEARCH_ALL_NODES, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_ident", @@ -141,10 +141,10 @@ rtems_task Task_1( CALLING_OVERHEAD_TASK_IDENT ); - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_message_queue_ident( index, RTEMS_SEARCH_ALL_NODES, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_ident", @@ -154,10 +154,10 @@ rtems_task Task_1( CALLING_OVERHEAD_MESSAGE_QUEUE_IDENT ); - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_semaphore_ident( index, RTEMS_SEARCH_ALL_NODES, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_semaphore_ident", @@ -167,10 +167,10 @@ rtems_task Task_1( CALLING_OVERHEAD_SEMAPHORE_IDENT ); - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_partition_ident( index, RTEMS_SEARCH_ALL_NODES, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_partition_ident", @@ -180,10 +180,10 @@ rtems_task Task_1( CALLING_OVERHEAD_PARTITION_IDENT ); - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_region_ident( index, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_region_ident", @@ -193,10 +193,10 @@ rtems_task Task_1( CALLING_OVERHEAD_REGION_IDENT ); - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_port_ident( index, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_port_ident", @@ -206,10 +206,10 @@ rtems_task Task_1( CALLING_OVERHEAD_PORT_IDENT ); - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_timer_ident( index, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_timer_ident", @@ -219,10 +219,10 @@ rtems_task Task_1( CALLING_OVERHEAD_TIMER_IDENT ); - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_rate_monotonic_ident( index, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_rate_monotonic_ident", -- cgit v1.2.3