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/tmoverhd/testtask.c | 282 ++++++++++++++++----------------- 1 file changed, 141 insertions(+), 141 deletions(-) (limited to 'testsuites/tmtests/tmoverhd/testtask.c') diff --git a/testsuites/tmtests/tmoverhd/testtask.c b/testsuites/tmtests/tmoverhd/testtask.c index 9676ae62d8..68762cae76 100644 --- a/testsuites/tmtests/tmoverhd/testtask.c +++ b/testsuites/tmtests/tmoverhd/testtask.c @@ -27,7 +27,7 @@ rtems_task Init( { rtems_id id; rtems_status_code status; - benchmark_timerdisable_subtracting_average_overhead( TRUE ); + benchmark_timer_disable_subtracting_average_overhead( TRUE ); Print_Warning(); @@ -93,10 +93,10 @@ rtems_task Task_1( /* rtems_shutdown_executive */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) (void) rtems_shutdown_executive( error ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_shutdown_executive", @@ -108,7 +108,7 @@ rtems_task Task_1( /* rtems_task_create */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_create( name, @@ -118,7 +118,7 @@ rtems_task Task_1( RTEMS_DEFAULT_ATTRIBUTES, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_create", @@ -130,10 +130,10 @@ rtems_task Task_1( /* rtems_task_ident */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_ident( name, RTEMS_SEARCH_ALL_NODES, id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_ident", @@ -145,10 +145,10 @@ rtems_task Task_1( /* rtems_task_start */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_start( id, Task_1, 0 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_start", @@ -160,10 +160,10 @@ rtems_task Task_1( /* rtems_task_restart */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_restart( id, 0 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_restart", @@ -175,10 +175,10 @@ rtems_task Task_1( /* rtems_task_delete */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_delete( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_delete", @@ -190,10 +190,10 @@ rtems_task Task_1( /* rtems_task_suspend */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_suspend( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_suspend", @@ -205,10 +205,10 @@ rtems_task Task_1( /* rtems_task_resume */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_resume( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_resume", @@ -220,10 +220,10 @@ rtems_task Task_1( /* rtems_task_set_priority */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_set_priority( id, in_priority, &out_priority ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_set_priority", @@ -235,10 +235,10 @@ rtems_task Task_1( /* rtems_task_mode */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_mode( in_mode, mask, &out_mode ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_mode", @@ -250,10 +250,10 @@ rtems_task Task_1( /* rtems_task_get_note */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_get_note( id, 1, note ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_get_note", @@ -265,10 +265,10 @@ rtems_task Task_1( /* rtems_task_set_note */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_set_note( id, 1, note ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_set_note", @@ -280,10 +280,10 @@ rtems_task Task_1( /* rtems_task_wake_when */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_wake_when( time ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_wake_when", @@ -295,10 +295,10 @@ rtems_task Task_1( /* rtems_task_wake_after */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_task_wake_after( timeout ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_task_wake_after", @@ -310,10 +310,10 @@ rtems_task Task_1( /* rtems_interrupt_catch */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_interrupt_catch( Isr_handler, 5, address_1 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_interrupt_catch", @@ -325,10 +325,10 @@ rtems_task Task_1( /* rtems_clock_get */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_clock_get( options, time ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_clock_get", @@ -340,10 +340,10 @@ rtems_task Task_1( /* rtems_clock_set */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_clock_set( time ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_clock_set", @@ -355,10 +355,10 @@ rtems_task Task_1( /* rtems_clock_tick */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_clock_tick(); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_clock_tick", @@ -372,10 +372,10 @@ rtems_test_pause(); /* rtems_timer_create */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_timer_create( name, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_timer_create", @@ -387,10 +387,10 @@ rtems_test_pause(); /* rtems_timer_delete */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_timer_delete( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_timer_delete", @@ -402,10 +402,10 @@ rtems_test_pause(); /* rtems_timer_ident */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_timer_ident( name, id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_timer_ident", @@ -417,7 +417,7 @@ rtems_test_pause(); /* rtems_timer_fire_after */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_timer_fire_after( id, @@ -425,7 +425,7 @@ rtems_test_pause(); Timer_handler, NULL ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_timer_fire_after", @@ -437,7 +437,7 @@ rtems_test_pause(); /* rtems_timer_fire_when */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_timer_fire_when( id, @@ -445,7 +445,7 @@ rtems_test_pause(); Timer_handler, NULL ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_timer_fire_when", @@ -457,10 +457,10 @@ rtems_test_pause(); /* rtems_timer_reset */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_timer_reset( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_timer_reset", @@ -472,10 +472,10 @@ rtems_test_pause(); /* rtems_timer_cancel */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_timer_cancel( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_timer_cancel", @@ -487,7 +487,7 @@ rtems_test_pause(); /* rtems_semaphore_create */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_semaphore_create( name, @@ -496,7 +496,7 @@ rtems_test_pause(); RTEMS_NO_PRIORITY, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_semaphore_create", @@ -508,10 +508,10 @@ rtems_test_pause(); /* rtems_semaphore_delete */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_semaphore_delete( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_semaphore_delete", @@ -523,10 +523,10 @@ rtems_test_pause(); /* rtems_semaphore_ident */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_semaphore_ident( name, RTEMS_SEARCH_ALL_NODES, id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_semaphore_ident", @@ -538,10 +538,10 @@ rtems_test_pause(); /* rtems_semaphore_obtain */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_semaphore_obtain( id, RTEMS_DEFAULT_OPTIONS, timeout ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_semaphore_obtain", @@ -553,10 +553,10 @@ rtems_test_pause(); /* rtems_semaphore_release */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_semaphore_release( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_semaphore_release", @@ -568,7 +568,7 @@ rtems_test_pause(); /* rtems_message_queue_create */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_message_queue_create( name, @@ -576,7 +576,7 @@ rtems_test_pause(); RTEMS_DEFAULT_ATTRIBUTES, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_create", @@ -588,14 +588,14 @@ rtems_test_pause(); /* rtems_message_queue_ident */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_message_queue_ident( name, RTEMS_SEARCH_ALL_NODES, id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_ident", @@ -607,10 +607,10 @@ rtems_test_pause(); /* rtems_message_queue_delete */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_message_queue_delete( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_delete", @@ -622,10 +622,10 @@ rtems_test_pause(); /* rtems_message_queue_send */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_message_queue_send( id, (long (*)[4])buffer ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_send", @@ -637,10 +637,10 @@ rtems_test_pause(); /* rtems_message_queue_urgent */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_message_queue_urgent( id, (long (*)[4])buffer ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_urgent", @@ -652,14 +652,14 @@ rtems_test_pause(); /* rtems_message_queue_broadcast */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_message_queue_broadcast( id, (long (*)[4])buffer, &count ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_broadcast", @@ -671,7 +671,7 @@ rtems_test_pause(); /* rtems_message_queue_receive */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_message_queue_receive( id, @@ -679,7 +679,7 @@ rtems_test_pause(); RTEMS_DEFAULT_OPTIONS, timeout ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_receive", @@ -691,10 +691,10 @@ rtems_test_pause(); /* rtems_message_queue_flush */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_message_queue_flush( id, &count ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_message_queue_flush", @@ -708,10 +708,10 @@ rtems_test_pause(); /* rtems_event_send */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_event_send( id, events ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_event_send", @@ -723,7 +723,7 @@ rtems_test_pause(); /* rtems_event_receive */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_event_receive( RTEMS_EVENT_16, @@ -731,7 +731,7 @@ rtems_test_pause(); timeout, &events ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_event_receive", @@ -743,10 +743,10 @@ rtems_test_pause(); /* rtems_signal_catch */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_signal_catch( Asr_handler, RTEMS_DEFAULT_MODES ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_signal_catch", @@ -758,10 +758,10 @@ rtems_test_pause(); /* rtems_signal_send */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_signal_send( id, signals ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_signal_send", @@ -773,7 +773,7 @@ rtems_test_pause(); /* rtems_partition_create */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_partition_create( name, @@ -783,7 +783,7 @@ rtems_test_pause(); RTEMS_DEFAULT_ATTRIBUTES, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_partition_create", @@ -795,10 +795,10 @@ rtems_test_pause(); /* rtems_partition_ident */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_partition_ident( name, RTEMS_SEARCH_ALL_NODES, id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_partition_ident", @@ -810,10 +810,10 @@ rtems_test_pause(); /* rtems_partition_delete */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_partition_delete( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_partition_delete", @@ -825,10 +825,10 @@ rtems_test_pause(); /* rtems_partition_get_buffer */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_partition_get_buffer( id, address_1 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_partition_get_buffer", @@ -840,10 +840,10 @@ rtems_test_pause(); /* rtems_partition_return_buffer */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_partition_return_buffer( id, address_1 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_partition_return_buffer", @@ -855,7 +855,7 @@ rtems_test_pause(); /* rtems_region_create */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_region_create( name, @@ -865,7 +865,7 @@ rtems_test_pause(); RTEMS_DEFAULT_ATTRIBUTES, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_region_create", @@ -877,10 +877,10 @@ rtems_test_pause(); /* rtems_region_ident */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_region_ident( name, id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_region_ident", @@ -892,10 +892,10 @@ rtems_test_pause(); /* rtems_region_delete */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_region_delete( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_region_delete", @@ -907,7 +907,7 @@ rtems_test_pause(); /* rtems_region_get_segment */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_region_get_segment( id, @@ -916,7 +916,7 @@ rtems_test_pause(); timeout, &address_1 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_region_get_segment", @@ -928,10 +928,10 @@ rtems_test_pause(); /* rtems_region_return_segment */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_region_return_segment( id, address_1 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_region_return_segment", @@ -943,7 +943,7 @@ rtems_test_pause(); /* rtems_port_create */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_port_create( name, @@ -952,7 +952,7 @@ rtems_test_pause(); 0xff, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_port_create", @@ -964,10 +964,10 @@ rtems_test_pause(); /* rtems_port_ident */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_port_ident( name, id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_port_ident", @@ -979,10 +979,10 @@ rtems_test_pause(); /* rtems_port_delete */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_port_delete( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_port_delete", @@ -994,14 +994,14 @@ rtems_test_pause(); /* rtems_port_external_to_internal */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_port_external_to_internal( id, &External_port_area[ 7 ], address_1 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_port_external_to_internal", @@ -1013,14 +1013,14 @@ rtems_test_pause(); /* rtems_port_internal_to_external */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_port_internal_to_external( id, &Internal_port_area[ 7 ], address_1 ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_port_internal_to_external", @@ -1034,7 +1034,7 @@ rtems_test_pause(); /* rtems_io_initialize */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_io_initialize( major, @@ -1042,7 +1042,7 @@ rtems_test_pause(); address_1, &io_result ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_io_initialize", @@ -1054,7 +1054,7 @@ rtems_test_pause(); /* rtems_io_open */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_io_open( major, @@ -1062,7 +1062,7 @@ rtems_test_pause(); address_1, &io_result ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_io_open", @@ -1074,7 +1074,7 @@ rtems_test_pause(); /* rtems_io_close */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_io_close( major, @@ -1082,7 +1082,7 @@ rtems_test_pause(); address_1, &io_result ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_io_close", @@ -1094,7 +1094,7 @@ rtems_test_pause(); /* rtems_io_read */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_io_read( major, @@ -1102,7 +1102,7 @@ rtems_test_pause(); address_1, &io_result ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_io_read", @@ -1114,7 +1114,7 @@ rtems_test_pause(); /* rtems_io_write */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_io_write( major, @@ -1122,7 +1122,7 @@ rtems_test_pause(); address_1, &io_result ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_io_write", @@ -1134,7 +1134,7 @@ rtems_test_pause(); /* rtems_io_control */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_io_control( major, @@ -1142,7 +1142,7 @@ rtems_test_pause(); address_1, &io_result ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_io_control", @@ -1154,10 +1154,10 @@ rtems_test_pause(); /* rtems_fatal_error_occurred */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_fatal_error_occurred( error ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_fatal_error_occurred", @@ -1169,10 +1169,10 @@ rtems_test_pause(); /* rtems_rate_monotonic_create */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_rate_monotonic_create( name, &id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_rate_monotonic_create", @@ -1184,10 +1184,10 @@ rtems_test_pause(); /* rtems_rate_monotonic_ident */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_rate_monotonic_ident( name, id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_rate_monotonic_ident", @@ -1199,10 +1199,10 @@ rtems_test_pause(); /* rtems_rate_monotonic_delete */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_rate_monotonic_delete( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_rate_monotonic_delete", @@ -1214,10 +1214,10 @@ rtems_test_pause(); /* rtems_rate_monotonic_cancel */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_rate_monotonic_cancel( id ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_rate_monotonic_cancel", @@ -1229,10 +1229,10 @@ rtems_test_pause(); /* rtems_rate_monotonic_period */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_rate_monotonic_period( id, timeout ); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_rate_monotonic_period", @@ -1244,10 +1244,10 @@ rtems_test_pause(); /* rtems_multiprocessing_announce */ - benchmark_timerinitialize(); + benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) (void) rtems_multiprocessing_announce(); - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_multiprocessing_announce", -- cgit v1.2.3