diff options
author | Joel Sherrill <joel@rtems.org> | 2016-03-22 17:13:30 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-04-14 16:36:53 -0500 |
commit | e65c45c4b6cf6dfb485bef48385e39969de8b361 (patch) | |
tree | 2ef5f976ff45c59bd29ce006f2c2585cd0e05e23 /testsuites/tmtests/tmoverhd/testtask.c | |
parent | conddefaultattributes.c: Add default clock to structure. (diff) | |
download | rtems-e65c45c4b6cf6dfb485bef48385e39969de8b361.tar.bz2 |
Obsolete rtems_clock_get() directive.
This service was marked as deprecated long prior to the 4.11 release
series and is now being removed.
closes #2676.
Diffstat (limited to '')
-rw-r--r-- | testsuites/tmtests/tmoverhd/testtask.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/testsuites/tmtests/tmoverhd/testtask.c b/testsuites/tmtests/tmoverhd/testtask.c index 76f4e157b1..bc73f8bc5d 100644 --- a/testsuites/tmtests/tmoverhd/testtask.c +++ b/testsuites/tmtests/tmoverhd/testtask.c @@ -79,7 +79,7 @@ rtems_task Task_1( rtems_device_minor_number minor RTEMS_GCC_NOWARN_UNUSED; uint32_t io_result RTEMS_GCC_NOWARN_UNUSED; uint32_t error RTEMS_GCC_NOWARN_UNUSED; - rtems_clock_get_options options RTEMS_GCC_NOWARN_UNUSED; + rtems_time_of_day tod RTEMS_GCC_NOWARN_UNUSED; name = rtems_build_name( 'N', 'A', 'M', 'E' ); in_priority = 250; @@ -90,7 +90,6 @@ rtems_task Task_1( major = 10; minor = 0; error = 100; - options = 0; /* rtems_shutdown_executive */ @@ -294,15 +293,15 @@ rtems_task Task_1( 0 ); -/* rtems_clock_get */ +/* rtems_clock_get_tod */ benchmark_timer_initialize(); for ( index = 1 ; index <= OPERATION_COUNT ; index ++ ) - (void) rtems_clock_get( options, time ); + (void) rtems_clock_get_tod( &tod ); end_time = benchmark_timer_read(); put_time( - "overhead: rtems_clock_get", + "overhead: rtems_clock_get_tod", end_time, OPERATION_COUNT, overhead, |