Searched refs:NANOS_PER_MILLI (Results 1 – 9 of 9) 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
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()