Searched refs:kNanosPerMicrosecond (Results 1 – 3 of 3) sorted by relevance
53 static const int kNanosPerMicrosecond = 1000; variable109 } else if (nanos % kNanosPerMicrosecond == 0) { in FormatNanos()110 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos()238 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()265 RoundTowardZero(duration.nanos(), kNanosPerMicrosecond); in DurationToMicroseconds()293 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()312 RoundTowardZero(timestamp.nanos(), kNanosPerMicrosecond); in TimestampToMicroseconds()334 value.tv_usec * kNanosPerMicrosecond); in TimevalToTimestamp()340 result.tv_usec = RoundTowardZero(value.nanos(), kNanosPerMicrosecond); in TimestampToTimeval()346 value.tv_usec * kNanosPerMicrosecond); in TimevalToDuration()[all …]
137 const auto kNanosPerMicrosecond = 1000ULL; in GetUserTime() local143 (nanos_since_thread_started + kNanosPerMicrosecond - 1ULL) / in GetUserTime()144 kNanosPerMicrosecond; in GetUserTime()
25 static const int kNanosPerMicrosecond = 1000; variable136 } else if (nanos % kNanosPerMicrosecond == 0) { in FormatNanos()137 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos()