Home
last modified time | relevance | path

Searched refs:NANOS_PER_MILLI (Results 1 – 9 of 9) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DBufferPeriod.java76 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()
DConstant.java26 public static final long NANOS_PER_MILLI = 1000000; field in Constant
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DTimeUtils.java26 static final long NANOS_PER_MILLI = 1000 * 1000; field in TimeUtils
27 static final long NANOS_PER_SECOND = NANOS_PER_MILLI * MILLIS_PER_SECOND;
DDuration.java22 import static io.opencensus.common.TimeUtils.NANOS_PER_MILLI;
88 int nanos = (int) (millis % MILLIS_PER_SECOND * NANOS_PER_MILLI); in fromMillis()
DTimestamp.java22 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()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Djni_native.c156 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()
Dsles.cpp382 (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()
Dloopback.h37 #define NANOS_PER_MILLI 1000000 macro
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCensusStatsModule.java70 private static final double NANOS_PER_MILLI = TimeUnit.MILLISECONDS.toNanos(1); field in CensusStatsModule
392 .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()