diff options
Diffstat (limited to 'testsuites/tmtests/tm08/task1.c')
-rw-r--r-- | testsuites/tmtests/tm08/task1.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/testsuites/tmtests/tm08/task1.c b/testsuites/tmtests/tm08/task1.c index 6d42de9900..a86322c61f 100644 --- a/testsuites/tmtests/tm08/task1.c +++ b/testsuites/tmtests/tm08/task1.c @@ -81,7 +81,6 @@ rtems_task test_task( uint32_t index; rtems_task_priority old_priority; rtems_time_of_day time; - uint32_t old_note; uint32_t old_mode; benchmark_timer_initialize(); @@ -186,44 +185,6 @@ rtems_task test_task( benchmark_timer_initialize(); (void) rtems_task_mode( RTEMS_PREEMPT, RTEMS_PREEMPT_MASK, &old_mode ); - /** START OF NOTEPAD TESTS **/ - - /* - * We know this is deprecated and don't want a warning on every BSP built. - */ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wdeprecated-declarations" - - benchmark_timer_initialize(); - for ( index=1 ; index <= OPERATION_COUNT ; index++ ) - (void) rtems_task_set_note( Test_task_id, 8, 10 ); - end_time = benchmark_timer_read(); - - put_time( - "rtems_task_set_note: only case", - end_time, - OPERATION_COUNT, - overhead, - CALLING_OVERHEAD_TASK_SET_NOTE - ); - - benchmark_timer_initialize(); - for ( index=1 ; index <= OPERATION_COUNT ; index++ ) - (void) rtems_task_get_note( Test_task_id, 8, &old_note ); - end_time = benchmark_timer_read(); - - put_time( - "rtems_task_get_note: only case", - end_time, - OPERATION_COUNT, - overhead, - CALLING_OVERHEAD_TASK_GET_NOTE - ); - - #pragma GCC diagnostic pop - - /** END OF NOTEPAD TESTS **/ - build_time( &time, 1, 1, 1988, 0, 0, 0, 0 ); benchmark_timer_initialize(); |