Changeset c3803167 in rtems


Ignore:
Timestamp:
Mar 20, 2015, 7:28:20 AM (5 years ago)
Author:
Alexander Krutwig <alexander.krutwig@…>
Branches:
4.11, master
Children:
d4edbdbc
Parents:
677d2b09
git-author:
Alexander Krutwig <alexander.krutwig@…> (03/20/15 07:28:20)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/20/15 12:46:43)
Message:

score: Delete unused _Timestamp_(To|From)_ticks()

Location:
cpukit/score
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/Makefile.am

    r677d2b09 rc3803167  
    316316    src/ts64lessthan.c \
    317317    src/ts64set.c src/ts64settozero.c src/ts64subtract.c \
    318     src/ts64toticks.c src/ts64totimespec.c src/ts64totimeval.c
     318    src/ts64totimespec.c src/ts64totimeval.c
    319319
    320320## TOD_C_FILES
  • cpukit/score/include/rtems/score/timestamp.h

    r677d2b09 rc3803167  
    181181
    182182/**
    183  *  @brief Convert timestamp to number of clock ticks.
    184  *
    185  *  This routine convert the @a time timestamp to the corresponding number
    186  *  of clock ticks.
    187  *
    188  *  @param[in] _time points to the time to be converted
    189  *
    190  *  @retval This method returns the number of ticks computed.
    191  */
    192 #if CPU_TIMESTAMP_USE_STRUCT_TIMESPEC == TRUE
    193   #define _Timestamp_To_ticks( _time ) \
    194           _Timespec_To_ticks( _time )
    195 #else
    196   #define _Timestamp_To_ticks( _time ) \
    197           _Timestamp64_To_ticks( _time )
    198 #endif
    199 
    200 /**
    201  *  @brief Converts the @a _ticks value to timestamp format.
    202  *
    203  *  This routine converts the @a _ticks value to the corresponding
    204  *  timestamp format @a _time.
    205  *
    206  *  @param[in] _time points to the timestamp format time result
    207  *  @param[in] _ticks points to the number of ticks to be filled in
    208  */
    209 #if CPU_TIMESTAMP_USE_STRUCT_TIMESPEC == TRUE
    210   #define _Timestamp_From_ticks( _ticks, _time ) \
    211           _Timespec_From_ticks( _ticks, _time )
    212 #else
    213   #define _Timestamp_From_ticks( _ticks, _time ) \
    214           _Timestamp64_From_ticks( _ticks, _time )
    215 #endif
    216 
    217 /**
    218183 *  @brief Subtracts two timestamps.
    219184 *
  • cpukit/score/include/rtems/score/timestamp64.h

    r677d2b09 rc3803167  
    196196  );
    197197#endif
    198 
    199 /**
    200  *  @brief Convert 64-bit timestamp to number of ticks.
    201  *
    202  *  This routine convert the @a time timestamp to the corresponding number
    203  *  of clock ticks.
    204  *
    205  *  @param[in] _time points to the time to be converted
    206  *
    207  *  @retval This method returns the number of ticks computed.
    208  */
    209 uint32_t _Timestamp64_To_ticks(
    210   const Timestamp64_Control *_time
    211 );
    212 
    213 /**
    214  *  @brief Convert ticks to 64-bit timestamp.
    215  *
    216  *  This routine converts the @a _ticks value to the corresponding
    217  *  timestamp format @a _time.
    218  *
    219  *  @param[in] _time points to the timestamp format time result
    220  *  @param[out] _ticks points to the number of ticks to be filled in
    221  */
    222 void _Timestamp64_From_ticks(
    223   uint32_t             _ticks,
    224   Timestamp64_Control *_time
    225 );
    226198
    227199static inline void _Timestamp64_implementation_Subtract(
Note: See TracChangeset for help on using the changeset viewer.