summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm12
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/tmtests/tm12')
-rw-r--r--testsuites/tmtests/tm12/Makefile.am3
-rw-r--r--testsuites/tmtests/tm12/task1.c10
2 files changed, 7 insertions, 6 deletions
diff --git a/testsuites/tmtests/tm12/Makefile.am b/testsuites/tmtests/tm12/Makefile.am
index e1b95b802c..6ee4cec98a 100644
--- a/testsuites/tmtests/tm12/Makefile.am
+++ b/testsuites/tmtests/tm12/Makefile.am
@@ -5,7 +5,8 @@
MANAGERS = io message semaphore
rtems_tests_PROGRAMS = tm12.exe
-tm12_exe_SOURCES = task1.c system.h ../include/timesys.h
+tm12_exe_SOURCES = task1.c system.h ../include/timesys.h \
+ ../../support/src/tmtests_empty_function.c
dist_rtems_tests_DATA = tm12.doc
diff --git a/testsuites/tmtests/tm12/task1.c b/testsuites/tmtests/tm12/task1.c
index ddf5584e04..8aac9f06d4 100644
--- a/testsuites/tmtests/tm12/task1.c
+++ b/testsuites/tmtests/tm12/task1.c
@@ -108,15 +108,15 @@ rtems_task High_task(
{
uint32_t index;
- 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_message_queue_send( Queue_id, Buffer, MESSAGE_SIZE );
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"rtems_message_queue_send: task readied -- returns to caller",