Changeset f6ef96c2 in rtems


Ignore:
Timestamp:
Aug 10, 2009, 4:05:17 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
f0266e1
Parents:
de90869d
Message:

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

  • fileio/system.h, ticker/system.h, ticker/ticker.scn: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
Location:
testsuites/samples
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/ChangeLog

    rde90869d rf6ef96c2  
     12009-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * fileio/system.h, ticker/system.h, ticker/ticker.scn: Convert calls to
     4        legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to
     5        rtems_clock_get_xxx().
     6
    172009-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/samples/fileio/system.h

    rde90869d rf6ef96c2  
    107107static inline uint32_t   get_ticks_per_second( void )
    108108{
    109   rtems_interval ticks_per_second;
    110   (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second );  return ticks_per_second;
     109  return rtems_clock_get_ticks_per_second();
    111110}
    112111
  • testsuites/samples/ticker/system.h

    rde90869d rf6ef96c2  
    9595static inline uint32_t   get_ticks_per_second( void )
    9696{
    97   rtems_interval ticks_per_second;
    98   (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second );  return ticks_per_second;
     97  return rtems_clock_get_ticks_per_second();
    9998}
    100 
    10199
    102100/*
  • testsuites/samples/ticker/ticker.scn

    rde90869d rf6ef96c2  
    11*** CLOCK TICK TEST ***
    2 TA1 - tm_get - 09:00:00   12/31/1988
    3 TA2 - tm_get - 09:00:00   12/31/1988
    4 TA3 - tm_get - 09:00:00   12/31/1988
    5 TA1 - tm_get - 09:00:05   12/31/1988
    6 TA1 - tm_get - 09:00:10   12/31/1988
    7 TA2 - tm_get - 09:00:10   12/31/1988
    8 TA1 - tm_get - 09:00:15   12/31/1988
    9 TA3 - tm_get - 09:00:15   12/31/1988
    10 TA1 - tm_get - 09:00:20   12/31/1988
    11 TA2 - tm_get - 09:00:20   12/31/1988
    12 TA1 - tm_get - 09:00:25   12/31/1988
    13 TA1 - tm_get - 09:00:30   12/31/1988
    14 TA2 - tm_get - 09:00:30   12/31/1988
    15 TA3 - tm_get - 09:00:30   12/31/1988
     2TA1 - clock_get_tod - 09:00:00   12/31/1988
     3TA2 - clock_get_tod - 09:00:00   12/31/1988
     4TA3 - clock_get_tod - 09:00:00   12/31/1988
     5TA1 - clock_get_tod - 09:00:05   12/31/1988
     6TA1 - clock_get_tod - 09:00:10   12/31/1988
     7TA2 - clock_get_tod - 09:00:10   12/31/1988
     8TA1 - clock_get_tod - 09:00:15   12/31/1988
     9TA3 - clock_get_tod - 09:00:15   12/31/1988
     10TA1 - clock_get_tod - 09:00:20   12/31/1988
     11TA2 - clock_get_tod - 09:00:20   12/31/1988
     12TA1 - clock_get_tod - 09:00:25   12/31/1988
     13TA1 - clock_get_tod - 09:00:30   12/31/1988
     14TA2 - clock_get_tod - 09:00:30   12/31/1988
     15TA3 - clock_get_tod - 09:00:30   12/31/1988
    1616*** END OF CLOCK TICK TEST ***
Note: See TracChangeset for help on using the changeset viewer.