Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/time/
Dmonotonic_time.h24 static const int64_t kNanosecondsPerSecond = 1000000000; variable
32 if (scale_ == kNanosecondsPerSecond) { in TimeDifference()
41 if (scale_ == kNanosecondsPerSecond) { in TimeDifference()
62 rval.ts_.tv_sec += (tv_nsec / kNanosecondsPerSecond);
63 rval.ts_.tv_nsec = tv_nsec % kNanosecondsPerSecond;
91 return ts_.tv_sec * (kNanosecondsPerSecond / scale_) + ts_.tv_nsec / scale_; in count()
158 rval.tv_nsec += kNanosecondsPerSecond;
167 if (rval.ts_.tv_nsec >= kNanosecondsPerSecond) {
169 rval.ts_.tv_nsec -= kNanosecondsPerSecond;
204 if (ts_.tv_nsec >= kNanosecondsPerSecond) {
[all …]