Searched refs:kNanosPerSecond (Results 1 – 1 of 1) sorted by relevance
225 static constexpr int64_t kNanosPerSecond = 1000000000; in addNanosecondsToCurrentTime() local228 waitTime->tv_sec += nanoSeconds / kNanosPerSecond; in addNanosecondsToCurrentTime()229 waitTime->tv_nsec += nanoSeconds % kNanosPerSecond; in addNanosecondsToCurrentTime()231 if (waitTime->tv_nsec >= kNanosPerSecond) { in addNanosecondsToCurrentTime()233 waitTime->tv_nsec -= kNanosPerSecond; in addNanosecondsToCurrentTime()