Changeset 8ff5e59d in rtems


Ignore:
Timestamp:
Apr 5, 2007, 9:15:40 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
412dbff6
Parents:
68e2f074
Message:

2007-04-05 Joel Sherrill <joel@…>

  • nsecs/init.c: Provide timespec manipulation routines in the SuperCore?. Use them everywhere possible. Perhaps they should be part of the public API so this test and others can use them without peeking into the bowels.
Location:
testsuites/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/ChangeLog

    r68e2f074 r8ff5e59d  
     12007-04-05      Joel Sherrill <joel@OARcorp.com>
     2
     3        * nsecs/init.c: Provide timespec manipulation routines in the
     4        SuperCore. Use them everywhere possible. Perhaps they should be part
     5        of the public API so this test and others can use them without
     6        peeking into the bowels.
     7
    182007-04-05      Joel Sherrill <joel@OARcorp.com>
    29
  • testsuites/samples/nsecs/init.c

    r68e2f074 r8ff5e59d  
    11/*
    22 *  Nanoseconds accuracy timestamp test
    3  *
    4  *  COPYRIGHT (c) 1989-2007.
     3 */
     4
     5/*  COPYRIGHT (c) 1989-2007.
    56 *  On-Line Applications Research Corporation (OAR).
    67 *
     
    3536)
    3637{
    37   extern void _POSIX_Timespec_subtract(
    38     const struct timespec *the_start,
     38  extern void _Timespec_Subtract(
     39    const struct timespec *start,
    3940    const struct timespec *end,
    40     struct timespec *result
     41    struct timespec       *result
    4142  );
    4243
    4344  t->tv_sec = 0;
    4445  t->tv_nsec = 0;
    45   _POSIX_Timespec_subtract( start, stop, t );
     46  _Timespec_Subtract( start, stop, t );
    4647}
    4748
Note: See TracChangeset for help on using the changeset viewer.