MCPcopy
hub / github.com/google/guava / elapsedNanos

Method elapsedNanos

guava/src/com/google/common/base/Stopwatch.java:199–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197 }
198
199 private long elapsedNanos() {
200 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos;
201 }
202
203 /**
204 * Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit,

Callers 2

elapsedMethod · 0.95
toStringMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected