Changeset 573f8d4 in rtems for testsuites/mptests/mp01/task1.c


Ignore:
Timestamp:
Aug 10, 2009, 2:50:29 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
fa342bc7
Parents:
cd49fdc
Message:

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

  • mp01/task1.c, mp01/node1/mp01-node1.scn, mp01/node2/mp01-node2.scn: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/mptests/mp01/task1.c

    rcd49fdc r573f8d4  
    3737  directive_failed( status, "rtems_task_ident" );
    3838
    39   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    40   directive_failed( status, "rtems_clock_get" );
     39  status = rtems_clock_get_tod( &time );
     40  directive_failed( status, "rtems_clock_get_tod" );
    4141
    4242  put_name( Task_name[ task_number( tid ) ], FALSE );
    43   print_time( " - rtems_clock_get - ", &time, "\n" );
     43  print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    4444
    4545  status = rtems_task_wake_after( task_number( tid ) * 1 * TICKS_PER_SECOND );
    4646  directive_failed( status, "rtems_task_wake_after" );
    4747
    48   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    49   directive_failed( status, "rtems_clock_get" );
     48  status = rtems_clock_get_tod( &time );
     49  directive_failed( status, "rtems_clock_get_tod" );
    5050  put_name( Task_name[ task_number( tid ) ], FALSE );
    51   print_time( " - rtems_clock_get - ", &time, "\n" );
     51  print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    5252
    5353  if ( task_number(tid) == 1 ) {          /* TASK 1 */
Note: See TracChangeset for help on using the changeset viewer.