Home
last modified time | relevance | path

Searched refs:kNumMicrosPerSecond (Results 1 – 2 of 2) 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;