Searched refs:elapsedNanos (Results 1 – 3 of 3) sorted by relevance
76 private long elapsedNanos; field in Stopwatch128 elapsedNanos += tick - startTick; in stop()139 elapsedNanos = 0; in reset()144 private long elapsedNanos() { in elapsedNanos() method in Stopwatch145 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()157 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsedTime()186 long nanos = elapsedNanos(); in toString()
75 private long elapsedNanos; field in Stopwatch127 elapsedNanos += tick - startTick; in stop()138 elapsedNanos = 0; in reset()143 private long elapsedNanos() { in elapsedNanos() method in Stopwatch144 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()156 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsedTime()
2385 statsCounter.recordLoadSuccess(loadingValueReference.elapsedNanos()); in getAndRecordStats()2390 statsCounter.recordLoadException(loadingValueReference.elapsedNanos()); in getAndRecordStats()3580 public long elapsedNanos() { in elapsedNanos() method in LocalCache.LoadingValueReference