Changeset 1f7ee02 in rtems for testsuites/sptests/sp33/init.c


Ignore:
Timestamp:
Aug 12, 2009, 8:50:43 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
4e76c71
Parents:
99f09711
Message:

2009-08-12 Joel Sherrill <joel.sherrill@…>

  • sp02/task1.c, sp02/task2.c, sp02/task3.c, sp03/task2.c, sp05/task1.c, sp05/task2.c, sp05/task3.c, sp06/task1.c, sp06/task2.c, sp09/screen02.c, sp09/screen04.c, sp09/screen06.c, sp09/screen07.c, sp09/screen10.c, sp09/screen12.c, sp09/screen13.c, sp09/screen14.c, sp11/task1.c, sp11/task2.c, sp12/pridrv.c, sp12/pritask.c, sp12/task1.c, sp13/task1.c, sp13/task2.c, sp14/task1.c, sp16/task1.c, sp16/task4.c, sp19/fptask.c, sp19/task1.c, sp22/task1.c, sp24/task1.c, sp26/task1.c, sp29/init.c, sp30/task1.c, sp31/task1.c, sp33/init.c, sp45/init.c, sp46/init.c, sp50/init.c, spintrcritical06/init.c, spwatchdog/task1.c: Eliminate test routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new rtems_clock_get_ticks_per_second().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp33/init.c

    r99f09711 r1f7ee02  
    169169
    170170  puts( "Delay to let Waiters block" );
    171   status = rtems_task_wake_after( TICKS_PER_SECOND );
     171  status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
    172172  directive_failed(status, "rtems_task_wake_after");
    173173
     
    183183
    184184  puts( "Delay to let Waiters print a message" );
    185   status = rtems_task_wake_after( TICKS_PER_SECOND );
     185  status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
    186186  directive_failed(status, "rtems_task_wake_after");
    187187
     
    206206
    207207  puts( "Delay to let Waiters block" );
    208   status = rtems_task_wake_after( TICKS_PER_SECOND );
     208  status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
    209209  directive_failed(status, "rtems_task_wake_after");
    210210
     
    214214
    215215  puts( "Delay to let Waiters print a message" );
    216   status = rtems_task_wake_after( TICKS_PER_SECOND );
     216  status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
    217217  directive_failed(status, "rtems_task_wake_after");
    218218
     
    244244
    245245  puts( "Delay to let task wait on barrier" );
    246   status = rtems_task_wake_after( TICKS_PER_SECOND );
     246  status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
    247247  directive_failed(status, "rtems_task_wake_after");
    248248
Note: See TracChangeset for help on using the changeset viewer.