Searched refs:kNanosPerMicrosecond (Results 1 – 4 of 4) sorted by relevance
55 static const int kNanosPerMicrosecond = 1000; variable110 } else if (nanos % kNanosPerMicrosecond == 0) { in FormatNanos()111 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos()248 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()275 RoundTowardZero(duration.nanos(), kNanosPerMicrosecond); in DurationToMicroseconds()303 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()322 RoundTowardZero(timestamp.nanos(), kNanosPerMicrosecond); in TimestampToMicroseconds()344 value.tv_usec * kNanosPerMicrosecond); in TimevalToTimestamp()350 result.tv_usec = RoundTowardZero(value.nanos(), kNanosPerMicrosecond); in TimestampToTimeval()356 value.tv_usec * kNanosPerMicrosecond); in TimevalToDuration()[all …]
38 constexpr int64_t kNanosPerMicrosecond = 1000; variable43 constexpr int64_t kNanosPerMillisecond = kNanosPerMicrosecond * 1000;
25 static const int kNanosPerMicrosecond = 1000; variable136 } else if (nanos % kNanosPerMicrosecond == 0) { in FormatNanos()137 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos()
107 const int64_t margin = 200 * kNanosPerMicrosecond; // arbitrary delay so we wake up just after in predictNextCallbackTime()