Searched refs:NANOSECONDS_PER_SECOND (Results 1 – 7 of 7) sorted by relevance
27 if ( nanos_ >= NANOSECONDS_PER_SECOND ) { in normalize()30 nanos_ -= NANOSECONDS_PER_SECOND; in normalize()31 } while ( nanos_ >= NANOSECONDS_PER_SECOND ); in normalize()32 } else if (nanos_ <= -NANOSECONDS_PER_SECOND ) { in normalize()35 nanos_ += NANOSECONDS_PER_SECOND; in normalize()36 } while (nanos_ <= -NANOSECONDS_PER_SECOND); in normalize()41 nanos_ += NANOSECONDS_PER_SECOND; in normalize()44 nanos_ -= NANOSECONDS_PER_SECOND; in normalize()
28 if ( nanos_ >= NANOSECONDS_PER_SECOND ) { in normalize()31 nanos_ -= NANOSECONDS_PER_SECOND; in normalize()32 } while ( nanos_ >= NANOSECONDS_PER_SECOND ); in normalize()33 } else if (nanos_ <= -NANOSECONDS_PER_SECOND ) { in normalize()36 nanos_ += NANOSECONDS_PER_SECOND; in normalize()37 } while (nanos_ <= -NANOSECONDS_PER_SECOND); in normalize()42 nanos_ += NANOSECONDS_PER_SECOND; in normalize()45 nanos_ -= NANOSECONDS_PER_SECOND; in normalize()
85 const int NANOSECONDS_PER_SECOND = 1000000000; in SleepCS() local112 if (ts.tv_nsec >= NANOSECONDS_PER_SECOND) { in SleepCS()113 ts.tv_sec += ts.tv_nsec / NANOSECONDS_PER_SECOND; in SleepCS()114 ts.tv_nsec %= NANOSECONDS_PER_SECOND; in SleepCS()
191 #define NANOSECONDS_PER_SECOND 1000000000.0 in ElapsedTime() macro208 return((double) timer.tv_sec+timer.tv_nsec/NANOSECONDS_PER_SECOND); in ElapsedTime()
82 NANOSECONDS_PER_SECOND = 1000000000, ///< One Billion enumerator111 static_cast<double>(integer_part)) * NANOSECONDS_PER_SECOND ); in TimeValue()
72 NANOSECONDS_PER_SECOND = 1000000000, ///< One Billion enumerator99 static_cast<double>(integer_part)) * NANOSECONDS_PER_SECOND ); in TimeValue()