Searched refs:kNanosPerMicrosecond (Results 1 – 2 of 2) 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 …]
25 static const int kNanosPerMicrosecond = 1000; variable136 } else if (nanos % kNanosPerMicrosecond == 0) { in FormatNanos()137 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos()