Searched refs:kNanosecondsPerSecond (Results 1 – 1 of 1) sorted by relevance
24 static const int64_t kNanosecondsPerSecond = 1000000000; variable32 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 …]