Searched refs:NANOS_PER_MILLISECOND (Results 1 – 10 of 10) sorted by relevance
53 static final long NANOS_PER_MILLISECOND = 1000000; field in Timestamps223 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in fromMillis()235 + timestamp.getNanos() / NANOS_PER_MILLISECOND; in toMillis()341 if (nanos % NANOS_PER_MILLISECOND == 0) { in formatNanos()342 return String.format("%1$03d", nanos / NANOS_PER_MILLISECOND); in formatNanos()
36 import static com.google.protobuf.util.Timestamps.NANOS_PER_MILLISECOND;181 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in fromMillis()190 return duration.getSeconds() * MILLIS_PER_SECOND + duration.getNanos() / NANOS_PER_MILLISECOND; in toMillis()
45 constexpr int64_t NANOS_PER_MILLISECOND = 1000 * 1000; variable73 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()87 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()109 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()136 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
60 const int64_t markerTime = startTimeNanos + NANOS_PER_MILLISECOND in checkDriftingClock()137 int64_t markerTime = startTime + NANOS_PER_MILLISECOND + (200 * NANOS_PER_MICROSECOND); in TEST_F()
32 #define NANOS_PER_MILLISECOND (NANOS_PER_MICROSECOND * 1000) macro33 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * 1000)
121 (getNanoseconds(CLOCK_MONOTONIC) - startedAtNanos) / NANOS_PER_MILLISECOND; in testOpenPlayClose()170 int64_t timeoutNanos = 2000 * NANOS_PER_MILLISECOND; in testOpenPlayClose()
136 int64_t timeoutNanos = 1000 * NANOS_PER_MILLISECOND; in main()
128 const int64_t timeoutNanos = 1000 * NANOS_PER_MILLISECOND; in main()
602 constexpr int64_t maxValidTimeDiffNs = 200 * NANOS_PER_MILLISECOND; in getLatencyMs()
860 (long long) (systemTime() - mLastIoBeginNs) / NANOS_PER_MILLISECOND); in dumpBase_l()3761 (long long)deltaWriteNs / NANOS_PER_MILLISECOND, in threadLoop()3801 const int32_t deltaMs = writePeriodNs / NANOS_PER_MILLISECOND; in threadLoop()