summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm17
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/tmtests/tm17')
-rw-r--r--testsuites/tmtests/tm17/Makefile.am3
-rw-r--r--testsuites/tmtests/tm17/task1.c10
2 files changed, 7 insertions, 6 deletions
diff --git a/testsuites/tmtests/tm17/Makefile.am b/testsuites/tmtests/tm17/Makefile.am
index 8597c94eac..556665ebb9 100644
--- a/testsuites/tmtests/tm17/Makefile.am
+++ b/testsuites/tmtests/tm17/Makefile.am
@@ -5,7 +5,8 @@
MANAGERS = io semaphore
rtems_tests_PROGRAMS = tm17.exe
-tm17_exe_SOURCES = task1.c system.h ../include/timesys.h
+tm17_exe_SOURCES = task1.c system.h ../include/timesys.h \
+ ../../support/src/tmtests_empty_function.c
dist_rtems_tests_DATA = tm17.doc
diff --git a/testsuites/tmtests/tm17/task1.c b/testsuites/tmtests/tm17/task1.c
index fbfb6b241d..fda21528f1 100644
--- a/testsuites/tmtests/tm17/task1.c
+++ b/testsuites/tmtests/tm17/task1.c
@@ -72,7 +72,7 @@ rtems_task First_task(
{
rtems_task_priority previous_priority;
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
Task_priority--;
Task_count++;
@@ -106,12 +106,12 @@ rtems_task Last_task(
{
uint32_t index;
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
- 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();
put_time(
"rtems_task_set_priority: preempts caller",