Home
last modified time | relevance | path

Searched refs:kNumMicrosPerSecond (Results 1 – 4 of 4) sorted by relevance

/third_party/benchmark/src/
Dsleep.cc44 div_t sleepTime = div(microseconds, kNumMicrosPerSecond);
51 sleep_time.tv_sec = microseconds / kNumMicrosPerSecond;
52 sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro;
63 SleepForMicroseconds(static_cast<int>(seconds * kNumMicrosPerSecond));
Dsleep.h7 const int kNumMicrosPerSecond = kNumMillisPerSecond * 1000; variable
9 const int kNumNanosPerSecond = kNumNanosPerMicro * kNumMicrosPerSecond;
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dsleep.cc37 sleep_time.tv_sec = microseconds / kNumMicrosPerSecond;
38 sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro;
48 SleepForMicroseconds(static_cast<int>(seconds * kNumMicrosPerSecond));
Dsleep.h7 const int kNumMicrosPerSecond = kNumMillisPerSecond * 1000; variable
9 const int kNumNanosPerSecond = kNumNanosPerMicro * kNumMicrosPerSecond;