summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/timestamp.h
diff options
context:
space:
mode:
authorAlexander Krutwig <alexander.krutwig@embedded-brains.de>2015-03-20 08:28:20 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-20 13:46:43 +0100
commitc380316710ad67e695cecd170125248c726731b9 (patch)
tree805ceb7650711a15a874220f0d7d45b2127e5bf2 /cpukit/score/include/rtems/score/timestamp.h
parentscore: Delete unused _Timestamp_Divide_by_integer (diff)
downloadrtems-c380316710ad67e695cecd170125248c726731b9.tar.bz2
score: Delete unused _Timestamp_(To|From)_ticks()
Diffstat (limited to 'cpukit/score/include/rtems/score/timestamp.h')
-rw-r--r--cpukit/score/include/rtems/score/timestamp.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/cpukit/score/include/rtems/score/timestamp.h b/cpukit/score/include/rtems/score/timestamp.h
index d03dbc0c45..dbd0425ff8 100644
--- a/cpukit/score/include/rtems/score/timestamp.h
+++ b/cpukit/score/include/rtems/score/timestamp.h
@@ -180,41 +180,6 @@ extern "C" {
#endif
/**
- * @brief Convert timestamp to number of clock ticks.
- *
- * This routine convert the @a time timestamp to the corresponding number
- * of clock ticks.
- *
- * @param[in] _time points to the time to be converted
- *
- * @retval This method returns the number of ticks computed.
- */
-#if CPU_TIMESTAMP_USE_STRUCT_TIMESPEC == TRUE
- #define _Timestamp_To_ticks( _time ) \
- _Timespec_To_ticks( _time )
-#else
- #define _Timestamp_To_ticks( _time ) \
- _Timestamp64_To_ticks( _time )
-#endif
-
-/**
- * @brief Converts the @a _ticks value to timestamp format.
- *
- * This routine converts the @a _ticks value to the corresponding
- * timestamp format @a _time.
- *
- * @param[in] _time points to the timestamp format time result
- * @param[in] _ticks points to the number of ticks to be filled in
- */
-#if CPU_TIMESTAMP_USE_STRUCT_TIMESPEC == TRUE
- #define _Timestamp_From_ticks( _ticks, _time ) \
- _Timespec_From_ticks( _ticks, _time )
-#else
- #define _Timestamp_From_ticks( _ticks, _time ) \
- _Timestamp64_From_ticks( _ticks, _time )
-#endif
-
-/**
* @brief Subtracts two timestamps.
*
* This routine subtracts two timestamps. @a result is set to