Searched refs:NANOS_PER_MILLI (Results 1 – 12 of 12) sorted by relevance
76 int diffInMilli = (int) ((diffInNano + Constant.NANOS_PER_MILLI - 1) / in collectBufferPeriod()77 Constant.NANOS_PER_MILLI); in collectBufferPeriod()80 int timeStampInMilli = (int) ((timeStampInNano + Constant.NANOS_PER_MILLI - 1) / in collectBufferPeriod()81 Constant.NANOS_PER_MILLI); in collectBufferPeriod()96 long delta = diffInNano - (long) mExpectedBufferPeriod * Constant.NANOS_PER_MILLI; in collectBufferPeriod()136 return Math.sqrt(mVar) / (double) Constant.NANOS_PER_MILLI; in getStdDevBufferPeriod()
26 public static final long NANOS_PER_MILLI = 1000000; field in Constant
26 static final long NANOS_PER_MILLI = 1000 * 1000; field in TimeUtils27 static final long NANOS_PER_SECOND = NANOS_PER_MILLI * MILLIS_PER_SECOND;
22 import static io.opencensus.common.TimeUtils.NANOS_PER_MILLI;88 int nanos = (int) (millis % MILLIS_PER_SECOND * NANOS_PER_MILLI); in fromMillis()
22 import static io.opencensus.common.TimeUtils.NANOS_PER_MILLI;88 return create(secs, (int) (mos * NANOS_PER_MILLI)); // Safe int * NANOS_PER_MILLI in fromMillis()
156 double scaled = (double) result / ((double) NANOS_PER_MILLI * (double) NANOS_PER_MILLI); in Java_org_drrickorang_loopback_NativeAudioThread_nativeGetRecorderVarianceBufferPeriod()190 double scaled = (double) result / ((double) NANOS_PER_MILLI * (double) NANOS_PER_MILLI); in Java_org_drrickorang_loopback_NativeAudioThread_nativeGetPlayerVarianceBufferPeriod()
382 (short) ((callbackDuration + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in recordTimeStamp()384 (int) ((timeStamp + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in recordTimeStamp()403 int diff_in_milli = (int) ((diff_in_nano + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in updateBufferStats()418 int64_t delta = diff_in_nano - (int64_t) expectedBufferPeriod * NANOS_PER_MILLI; in updateBufferStats()
37 #define NANOS_PER_MILLI 1000000 macro
32 private static final long NANOS_PER_MILLI = 1000000; field in EventScheduler231 millisToWait = 1 + (nanosToWait / NANOS_PER_MILLI); in waitNextEvent()
22 const NANOS_PER_MILLI: i32 = 1000_000; constant58 nanos: NANOS_PER_SEC + (i64::MIN % MILLIS_PER_SEC) as i32 * NANOS_PER_MILLI,64 nanos: (i64::MAX % MILLIS_PER_SEC) as i32 * NANOS_PER_MILLI,120 let nanos = millis as i32 * NANOS_PER_MILLI; in milliseconds()188 let nanos_part = self.nanos_mod_sec() / NANOS_PER_MILLI; in num_milliseconds()394 } else if abs.nanos % NANOS_PER_MILLI == 0 { in fmt()395 write!(f, "T{}.{:03}S", secs, abs.nanos / NANOS_PER_MILLI)?; in fmt()
70 private static final double NANOS_PER_MILLI = TimeUnit.MILLISECONDS.toNanos(1); field in CensusStatsModule392 .put(RpcMeasureConstants.RPC_CLIENT_ROUNDTRIP_LATENCY, roundtripNanos / NANOS_PER_MILLI) in callEnded()592 .put(RpcMeasureConstants.RPC_SERVER_SERVER_LATENCY, elapsedTimeNanos / NANOS_PER_MILLI) in streamClosed()
48 const uint64_t NANOS_PER_MILLI = NANOS_PER_MICRO * 1000; variable49 const uint64_t NANOS_PER_SECOND = NANOS_PER_MILLI * 1000;