Lines Matching refs:kMicrosecondsPerSecond

45   return TimeDelta(seconds * Time::kMicrosecondsPerSecond);  in FromSeconds()
75 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
80 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
105 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromMachTimespec()
113 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond; in ToMachTimespec()
114 ts.tv_nsec = (delta_ % Time::kMicrosecondsPerSecond) * in ToMachTimespec()
128 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromTimespec()
135 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond; in ToTimespec()
136 ts.tv_nsec = (delta_ % Time::kMicrosecondsPerSecond) * in ToTimespec()
277 return Time(ts.tv_sec * kMicrosecondsPerSecond + in FromTimespec()
294 ts.tv_sec = us_ / kMicrosecondsPerSecond; in ToTimespec()
295 ts.tv_nsec = (us_ % kMicrosecondsPerSecond) * kNanosecondsPerMicrosecond; in ToTimespec()
302 DCHECK(tv.tv_usec < static_cast<suseconds_t>(kMicrosecondsPerSecond)); in FromTimeval()
306 if (tv.tv_usec == static_cast<suseconds_t>(kMicrosecondsPerSecond - 1) && in FromTimeval()
310 return Time(tv.tv_sec * kMicrosecondsPerSecond + tv.tv_usec); in FromTimeval()
323 tv.tv_usec = static_cast<suseconds_t>(kMicrosecondsPerSecond - 1); in ToTimeval()
326 tv.tv_sec = us_ / kMicrosecondsPerSecond; in ToTimeval()
327 tv.tv_usec = us_ % kMicrosecondsPerSecond; in ToTimeval()
414 int64_t ticks = (whole_seconds * Time::kMicrosecondsPerSecond) + in Now()
415 ((leftover_ticks * Time::kMicrosecondsPerSecond) / ticks_per_second_); in Now()
557 ticks = (tv.tv_sec * Time::kMicrosecondsPerSecond + tv.tv_usec); in HighResolutionNow()
563 ticks = (ts.tv_sec * Time::kMicrosecondsPerSecond + in HighResolutionNow()