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()245 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()272 RoundTowardZero(duration.nanos(), kNanosPerMicrosecond); in DurationToMicroseconds()300 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()319 RoundTowardZero(timestamp.nanos(), kNanosPerMicrosecond); in TimestampToMicroseconds()341 value.tv_usec * kNanosPerMicrosecond); in TimevalToTimestamp()347 result.tv_usec = RoundTowardZero(value.nanos(), kNanosPerMicrosecond); in TimestampToTimeval()353 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()