Changeset 4e76c71 in rtems


Ignore:
Timestamp:
Aug 12, 2009, 8:50:51 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
717391f5
Parents:
1f7ee02
Message:

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

  • support/include/tmacros.h: Eliminate test routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new rtems_clock_get_ticks_per_second().
Location:
testsuites
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/ChangeLog

    r1f7ee02 r4e76c71  
     12009-08-12      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * support/include/tmacros.h: Eliminate test routines TICKS_PER_SECOND
     4        and get_ticks_per_second() in favor of new
     5        rtems_clock_get_ticks_per_second().
     6
    172009-08-06      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • testsuites/support/include/tmacros.h

    r1f7ee02 r4e76c71  
    44 *  test suites.
    55 *
    6  *  COPYRIGHT (c) 1989-2008.
     6 *  COPYRIGHT (c) 1989-2009.
    77 *  On-Line Applications Research Corporation (OAR).
    88 *
     
    239239        number_of_initialization_tasks )
    240240
    241 static inline uint32_t   get_ticks_per_second( void )
    242 {
    243   rtems_interval ticks_per_second;
    244   (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second );
    245   return ticks_per_second;
    246 }
    247 
    248 #define TICKS_PER_SECOND get_ticks_per_second()
    249 
    250241#define rtems_test_assert(__exp) \
    251242  if (!(__exp)) { \
Note: See TracChangeset for help on using the changeset viewer.