From 677d2b09d1788c8354ae2d609559e0542b1b929f Mon Sep 17 00:00:00 2001 From: Alexander Krutwig Date: Fri, 20 Mar 2015 09:08:57 +0100 Subject: score: Delete unused _Timestamp_Divide_by_integer --- cpukit/score/include/rtems/score/timestamp.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'cpukit/score/include/rtems/score/timestamp.h') diff --git a/cpukit/score/include/rtems/score/timestamp.h b/cpukit/score/include/rtems/score/timestamp.h index 5c23979224..d03dbc0c45 100644 --- a/cpukit/score/include/rtems/score/timestamp.h +++ b/cpukit/score/include/rtems/score/timestamp.h @@ -235,27 +235,6 @@ extern "C" { _Timestamp64_Subtract( _start, _end, _result ) #endif -/** - * @brief Divides a timestamp by an integer value. - * - * This routine divides a timestamp by an integer value. The expected - * use is to assist in benchmark calculations where you typically - * divide a duration by a number of iterations. - * - * @param[in] _time points to the total - * @param[in] _iterations is the number of iterations - * @param[in] _result points to the average time. - * - * @retval This method fills in @a result. - */ -#if CPU_TIMESTAMP_USE_STRUCT_TIMESPEC == TRUE - #define _Timestamp_Divide_by_integer( _time, _iterations, _result ) \ - _Timespec_Divide_by_integer(_time, _iterations, _result ) -#else - #define _Timestamp_Divide_by_integer( _time, _iterations, _result ) \ - _Timestamp64_Divide_by_integer( _time, _iterations, _result ) -#endif - /** * @brief Divides a timestamp by another timestamp. * -- cgit v1.2.3