Home
last modified time | relevance | path

Searched refs:elapsedNanos (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DStopwatch.java76 private long elapsedNanos; field in Stopwatch
128 elapsedNanos += tick - startTick; in stop()
139 elapsedNanos = 0; in reset()
144 private long elapsedNanos() { in elapsedNanos() method in Stopwatch
145 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()
157 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsedTime()
186 long nanos = elapsedNanos(); in toString()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java75 private long elapsedNanos; field in Stopwatch
127 elapsedNanos += tick - startTick; in stop()
138 elapsedNanos = 0; in reset()
143 private long elapsedNanos() { in elapsedNanos() method in Stopwatch
144 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()
156 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsedTime()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java2385 statsCounter.recordLoadSuccess(loadingValueReference.elapsedNanos()); in getAndRecordStats()
2390 statsCounter.recordLoadException(loadingValueReference.elapsedNanos()); in getAndRecordStats()
3580 public long elapsedNanos() { in elapsedNanos() method in LocalCache.LoadingValueReference