Changeset cd49fdc in rtems


Ignore:
Timestamp:
Aug 10, 2009, 2:50:24 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
573f8d4
Parents:
1654d02
Message:

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

  • cpuuse/task1.c, cpuuse/tswitch.c, malloctest/task1.c, stackchk/task1.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
Location:
testsuites/libtests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r1654d02 rcd49fdc  
     12009-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * cpuuse/task1.c, cpuuse/tswitch.c, malloctest/task1.c,
     4        stackchk/task1.c: Convert calls to legacy routine rtems_clock_get(
     5        RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
     6
    172009-08-09      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/libtests/cpuuse/task1.c

    r1654d02 rcd49fdc  
    7373      directive_failed( status, "rtems_task_mode" );
    7474
    75       status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    76       directive_failed( status, "rtems_clock_get" );
     75      status = rtems_clock_get_tod( &time );
     76      directive_failed( status, "rtems_clock_get_tod" );
    7777
    7878      old_seconds = time.second;
    7979
    8080      for ( seconds = 0 ; seconds < 6 ; ) {
    81         status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    82         directive_failed( status, "rtems_clock_get" );
     81        status = rtems_clock_get_tod( &time );
     82        directive_failed( status, "rtems_clock_get_tod" );
    8383
    8484        if ( time.second != old_seconds ) {
  • testsuites/libtests/cpuuse/tswitch.c

    r1654d02 rcd49fdc  
    4848      Run_count[ index ] += 1;
    4949
    50       status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
     50      status = rtems_clock_get_tod( &time );
    5151      fatal_directive_status_with_level( status, RTEMS_SUCCESSFUL,
    52                                          "rtems_clock_get", 1 );
     52                                         "rtems_clock_get_tod", 1 );
    5353
    5454      if (taskSwitchLogIndex <
  • testsuites/libtests/malloctest/task1.c

    r1654d02 rcd49fdc  
    4343    }
    4444
    45     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    46     directive_failed( status, "rtems_clock_get" );
     45    status = rtems_clock_get_tod( &time );
     46    directive_failed( status, "rtems_clock_get_tod" );
    4747
    4848    put_name( Task_name[ task_number( tid ) ], FALSE );
    49     print_time( " - rtems_clock_get - ", &time, "\n" );
     49    print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    5050
    5151    mem_amt = ((int)((float)rand()*1000.0/(float)RAND_MAX));
  • testsuites/libtests/stackchk/task1.c

    r1654d02 rcd49fdc  
    2828
    2929  while( FOREVER ) {
    30     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    31     directive_failed( status, "rtems_clock_get" );
     30    status = rtems_clock_get_tod( &time );
     31    directive_failed( status, "rtems_clock_get_tod" );
    3232
    3333    if ( time.second >= 15 && tid == Task_id[ 1 ] ) {
     
    3636
    3737    put_name( Task_name[ task_number( tid ) ], FALSE );
    38     print_time( " - rtems_clock_get - ", &time, "\n" );
     38    print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    3939
    4040    status = rtems_task_wake_after( task_number( tid ) * 5 * TICKS_PER_SECOND );
Note: See TracChangeset for help on using the changeset viewer.