Home
last modified time | relevance | path

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

/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/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/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/
DBulletAppState.java110 …Math.round(getPhysicsSpace().getAccuracy() * 1000000.0f) - (update * 1000), TimeUnit.MICROSECONDS);
/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/caliper/caliper/src/main/java/com/google/caliper/util/
DShortDuration.java295 builder.putAll(TimeUnit.MICROSECONDS, "\u03bcs" /*μs*/, "us", "micros"); in createAbbreviations()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoEncoder.java392 eglBase.swapBuffers(TimeUnit.MICROSECONDS.toNanos(presentationTimestampUs)); in encodeTexture()