Home
last modified time | relevance | path

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

/system/libfmq/
DEventFlag.cpp261 static constexpr int64_t kNanosPerSecond = 1000000000; in addNanosecondsToCurrentTime() local
264 waitTime->tv_sec += nanoSeconds / kNanosPerSecond; in addNanosecondsToCurrentTime()
265 waitTime->tv_nsec += nanoSeconds % kNanosPerSecond; in addNanosecondsToCurrentTime()
267 if (waitTime->tv_nsec >= kNanosPerSecond) { in addNanosecondsToCurrentTime()
269 waitTime->tv_nsec -= kNanosPerSecond; in addNanosecondsToCurrentTime()