summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm22
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/tmtests/tm22')
-rw-r--r--testsuites/tmtests/tm22/Makefile.am3
-rw-r--r--testsuites/tmtests/tm22/task1.c12
2 files changed, 8 insertions, 7 deletions
diff --git a/testsuites/tmtests/tm22/Makefile.am b/testsuites/tmtests/tm22/Makefile.am
index 2c994381cb..0ba01482bb 100644
--- a/testsuites/tmtests/tm22/Makefile.am
+++ b/testsuites/tmtests/tm22/Makefile.am
@@ -5,7 +5,8 @@
MANAGERS = io message semaphore
rtems_tests_PROGRAMS = tm22.exe
-tm22_exe_SOURCES = task1.c system.h ../include/timesys.h
+tm22_exe_SOURCES = task1.c system.h ../include/timesys.h \
+ ../../support/src/tmtests_empty_function.c
dist_rtems_tests_DATA = tm22.doc
diff --git a/testsuites/tmtests/tm22/task1.c b/testsuites/tmtests/tm22/task1.c
index 1796d5b239..468d684c7b 100644
--- a/testsuites/tmtests/tm22/task1.c
+++ b/testsuites/tmtests/tm22/task1.c
@@ -88,14 +88,14 @@ rtems_task High_task(
uint32_t count;
rtems_status_code status;
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
(void) rtems_message_queue_broadcast(
Queue_id,
Buffer,
MESSAGE_SIZE,
&count
);
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"rtems_message_queue_broadcast: task readied -- returns to caller",
@@ -141,7 +141,7 @@ rtems_task Low_task(
);
directive_failed( status, "message_queu_receive" );
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
(void) rtems_message_queue_broadcast(
Queue_id,
@@ -149,7 +149,7 @@ rtems_task Low_task(
MESSAGE_SIZE,
&count
);
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"rtems_message_queue_broadcast: no waiting tasks",
@@ -169,7 +169,7 @@ rtems_task Low_task(
/* should go to Preempt_task here */
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"rtems_message_queue_broadcast: task readied -- preempts caller",
@@ -189,7 +189,7 @@ rtems_task Preempt_task(
{
uint32_t count;
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
(void) rtems_message_queue_broadcast(
Queue_id,
Buffer,