Home
last modified time | relevance | path

Searched refs:NANOSECONDS_PER_SECOND (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Support/
DTimeValue.cpp27 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()
/external/swiftshader/third_party/LLVM/lib/Support/
DTimeValue.cpp28 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()
/external/webrtc/webrtc/system_wrappers/source/
Dcondition_variable_posix.cc85 const int NANOSECONDS_PER_SECOND = 1000000000; in SleepCS() local
112 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()
/external/ImageMagick/MagickCore/
Dtimer.c191 #define NANOSECONDS_PER_SECOND 1000000000.0 in ElapsedTime() macro
208 return((double) timer.tv_sec+timer.tv_nsec/NANOSECONDS_PER_SECOND); in ElapsedTime()
/external/llvm/include/llvm/Support/
DTimeValue.h82 NANOSECONDS_PER_SECOND = 1000000000, ///< One Billion enumerator
111 static_cast<double>(integer_part)) * NANOSECONDS_PER_SECOND ); in TimeValue()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h82 NANOSECONDS_PER_SECOND = 1000000000, ///< One Billion enumerator
111 static_cast<double>(integer_part)) * NANOSECONDS_PER_SECOND ); in TimeValue()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DTimeValue.h72 NANOSECONDS_PER_SECOND = 1000000000, ///< One Billion enumerator
99 static_cast<double>(integer_part)) * NANOSECONDS_PER_SECOND ); in TimeValue()