Searched refs:kNanosecondsPerMicrosecond (Results 1 – 13 of 13) sorted by relevance
57 return TimeDelta(nanoseconds / Time::kNanosecondsPerMicrosecond); in FromNanoseconds()97 return delta_ * Time::kNanosecondsPerMicrosecond; in InNanoseconds()108 ts.tv_nsec / Time::kNanosecondsPerMicrosecond); in FromMachTimespec()117 Time::kNanosecondsPerMicrosecond; in ToMachTimespec()131 ts.tv_nsec / Time::kNanosecondsPerMicrosecond); in FromTimespec()139 Time::kNanosecondsPerMicrosecond; in ToTimespec()280 ts.tv_nsec / kNanosecondsPerMicrosecond); in FromTimespec()297 ts.tv_nsec = (us_ % kMicrosecondsPerSecond) * kNanosecondsPerMicrosecond; in ToTimespec()547 ticks = (mach_absolute_time() / Time::kNanosecondsPerMicrosecond * in HighResolutionNow()550 ticks = (gethrtime() / Time::kNanosecondsPerMicrosecond); in HighResolutionNow()[all …]
172 static const int64_t kNanosecondsPerMicrosecond = 1000; variable173 static const int64_t kNanosecondsPerSecond = kNanosecondsPerMicrosecond *
82 (usecs % Time::kMicrosecondsPerSecond) * Time::kNanosecondsPerMicrosecond; in TimedWait()99 absolute_time.tv_nsec = now.tv_usec * Time::kNanosecondsPerMicrosecond; in TimedWait()
148 Time::kNanosecondsPerMicrosecond); in FromStat()153 Time::kNanosecondsPerMicrosecond); in FromStat()158 Time::kNanosecondsPerMicrosecond); in FromStat()
37 delay.InMicroseconds() * base::Time::kNanosecondsPerMicrosecond; in PostDelayedTask()
65 result += (ts.tv_nsec / base::Time::kNanosecondsPerMicrosecond); in ConvertTimespecToMicros()102 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)}; in ToTimeSpec()
294 static const int64_t kNanosecondsPerMicrosecond = 1000; variable296 kNanosecondsPerMicrosecond * kMicrosecondsPerSecond;
85 result += (ts.tv_nsec / base::Time::kNanosecondsPerMicrosecond); in ConvertTimespecToMicros()122 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)}; in ToTimeSpec()
62 mach_absolute_time() / base::Time::kNanosecondsPerMicrosecond); in ComputeCurrentTicks()
102 base::Time::kNanosecondsPerMicrosecond * in Wait()
294 base::Time::kNanosecondsPerMicrosecond; in ResetImpl()
1148 #define kNanosecondsPerMicrosecond 1000 macro