Searched refs:toMicros (Results 1 – 3 of 3) sorted by relevance
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
D | TimeUnit.java | 20 public long toMicros(long d) { return d/(C1/C0); } in toMicros() method 31 public long toMicros(long d) { return d; } in toMicros() method 37 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert() 42 public long toMicros(long d) { return x(d, C2/C1, MAX/(C2/C1)); } in toMicros() method 53 public long toMicros(long d) { return x(d, C3/C1, MAX/(C3/C1)); } in toMicros() method 64 public long toMicros(long d) { return x(d, C4/C1, MAX/(C4/C1)); } in toMicros() method 75 public long toMicros(long d) { return x(d, C5/C1, MAX/(C5/C1)); } in toMicros() method 86 public long toMicros(long d) { return x(d, C6/C1, MAX/(C6/C1)); } in toMicros() method 123 public long toMicros(long duration) { in toMicros() method in TimeUnit
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | RateLimiter.java | 359 double stableIntervalMicros = TimeUnit.SECONDS.toMicros(1L) / permitsPerSecond; in setRate() 375 return TimeUnit.SECONDS.toMicros(1L) / stableIntervalMicros; in getRate() 402 return 1.0 * microsToWait / TimeUnit.SECONDS.toMicros(1L); in acquire() 486 long timeoutMicros = unit.toMicros(timeout); in tryAcquire() 544 return TimeUnit.NANOSECONDS.toMicros(ticker.read() - offsetNanos); in readSafeMicros() 639 this.warmupPeriodMicros = timeUnit.toMicros(warmupPeriod); in WarmingUp()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 348 sleepMicros("U", TimeUnit.MILLISECONDS.toMicros(millis)); in sleepMillis()
|