Home
last modified time | relevance | path

Searched refs:MICROSECONDS (Results 1 – 20 of 20) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/
DInProcessSampledSpanStoreImplTest.java273 testClock.advanceTime(Duration.create(0, (int) TimeUnit.MICROSECONDS.toNanos(20))); in getLatencySampledSpans()
279 TimeUnit.MICROSECONDS.toNanos(15), in getLatencySampledSpans()
280 TimeUnit.MICROSECONDS.toNanos(25), in getLatencySampledSpans()
289 testClock.advanceTime(Duration.create(0, (int) TimeUnit.MICROSECONDS.toNanos(20))); in getLatencySampledSpans_ExclusiveUpperBound()
295 TimeUnit.MICROSECONDS.toNanos(15), in getLatencySampledSpans_ExclusiveUpperBound()
296 TimeUnit.MICROSECONDS.toNanos(20), in getLatencySampledSpans_ExclusiveUpperBound()
304 testClock.advanceTime(Duration.create(0, (int) TimeUnit.MICROSECONDS.toNanos(20))); in getLatencySampledSpans_InclusiveLowerBound()
310 TimeUnit.MICROSECONDS.toNanos(20), in getLatencySampledSpans_InclusiveLowerBound()
311 TimeUnit.MICROSECONDS.toNanos(25), in getLatencySampledSpans_InclusiveLowerBound()
320 testClock.advanceTime(Duration.create(0, (int) TimeUnit.MICROSECONDS.toNanos(20))); in getLatencySampledSpans_QueryBetweenMultipleBuckets()
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/
DLogMessageParserTest.java22 import static java.util.concurrent.TimeUnit.MICROSECONDS;
73 assertEquals(new GcLogMessage(INCREMENTAL, ShortDuration.of(1232, MICROSECONDS)), in gcMessageData()
75 assertEquals(new GcLogMessage(FULL, ShortDuration.of(5455, MICROSECONDS)), in gcMessageData()
77 assertEquals(new GcLogMessage(INCREMENTAL, ShortDuration.of(1424, MICROSECONDS)), in gcMessageData()
80 assertEquals(new GcLogMessage(FULL, ShortDuration.of(4486, MICROSECONDS)), in gcMessageData()
/external/guava/guava/src/com/google/common/util/concurrent/
DRateLimiter.java22 import static java.util.concurrent.TimeUnit.MICROSECONDS;
320 return tryAcquire(permits, 0, MICROSECONDS); in tryAcquire()
334 return tryAcquire(1, 0, MICROSECONDS); in tryAcquire()
418 return stopwatch.elapsed(MICROSECONDS); in createFromSystemTimer()
424 Uninterruptibles.sleepUninterruptibly(micros, MICROSECONDS); in createFromSystemTimer()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java23 import static java.util.concurrent.TimeUnit.MICROSECONDS;
226 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
227 return MICROSECONDS; in chooseUnit()
236 case MICROSECONDS: in abbreviate()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java23 import static java.util.concurrent.TimeUnit.MICROSECONDS;
241 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
242 return MICROSECONDS; in chooseUnit()
251 case MICROSECONDS: in abbreviate()
/external/opencensus-java/contrib/agent/src/jmh/java/io/opencensus/contrib/agent/instrumentation/
DThreadInstrumentationBenchmark.java52 @OutputTimeUnit(TimeUnit.MICROSECONDS)
67 @OutputTimeUnit(TimeUnit.MICROSECONDS)
82 @OutputTimeUnit(TimeUnit.MICROSECONDS)
/external/opencensus-java/api/src/main/java/io/opencensus/trace/export/
DSampledSpanStore.java241 ZERO_MICROSx10(0, TimeUnit.MICROSECONDS.toNanos(10)),
248 MICROSx10_MICROSx100(TimeUnit.MICROSECONDS.toNanos(10), TimeUnit.MICROSECONDS.toNanos(100)),
255 MICROSx100_MILLIx1(TimeUnit.MICROSECONDS.toNanos(100), TimeUnit.MILLISECONDS.toNanos(1)),
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DStopwatchTest.java19 import static java.util.concurrent.TimeUnit.MICROSECONDS;
157 assertEquals(0, stopwatch.elapsed(MICROSECONDS)); in testElapsed_micros()
159 assertEquals(1, stopwatch.elapsed(MICROSECONDS)); in testElapsed_micros()
/external/guava/guava-tests/test/com/google/common/base/
DStopwatchTest.java19 import static java.util.concurrent.TimeUnit.MICROSECONDS;
158 assertEquals(0, stopwatch.elapsed(MICROSECONDS)); in testElapsed_micros()
160 assertEquals(1, stopwatch.elapsed(MICROSECONDS)); in testElapsed_micros()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DRateLimiterTest.java20 import static java.util.concurrent.TimeUnit.MICROSECONDS;
268 assertTrue(limiter.tryAcquire(0, MICROSECONDS)); in testTryAcquire_overflow()
270 assertTrue(limiter.tryAcquire(Long.MAX_VALUE, MICROSECONDS)); in testTryAcquire_overflow()
453 instant += MICROSECONDS.toNanos(micros); in sleepMicros()
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DDeadlineTest.java175 Deadline base = Deadline.after(50, TimeUnit.MICROSECONDS, ticker); in runOnEventualExpirationIsExecuted()
194 Deadline base = Deadline.after(0, TimeUnit.MICROSECONDS, ticker); in runOnAlreadyExpiredIsExecutedOnExecutor()
248 Deadline d = Deadline.after(12, TimeUnit.MICROSECONDS, ticker); in toString_before()
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/
DBufferPerformanceBench.java223 TimeUnit.MICROSECONDS.sleep(bench.maxThinkMicros); in lag()
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
DTimeUnit.java29 MICROSECONDS { enumConstant
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerBuilder.java65 private static final long MIN_KEEPALIVE_TIMEOUT_NANO = TimeUnit.MICROSECONDS.toNanos(499L);
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DShortDuration.java295 builder.putAll(TimeUnit.MICROSECONDS, "\u03bcs" /*μs*/, "us", "micros"); in createAbbreviations()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceImpl.java368 nextChunk.delayMicroseconds, TimeUnit.MICROSECONDS);
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoEncoder.java392 eglBase.swapBuffers(TimeUnit.MICROSECONDS.toNanos(presentationTimestampUs)); in encodeTexture()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java646 return TimeUnit.MICROSECONDS.toNanos(value); in parseAsciiString()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_query.c1931 X("buffer-wait-time", BUFFER_WAIT_TIME, MICROSECONDS, CUMULATIVE),
/external/mesa3d/src/gallium/drivers/r600/
Dr600_query.c1957 X("buffer-wait-time", BUFFER_WAIT_TIME, MICROSECONDS, CUMULATIVE),