MCPcopy Create free account
hub / github.com/antlr/codebuff / elapsedNanos

Method elapsedNanos

output/java_guava/1.4.19/Stopwatch.java:186–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184 }
185
186 private long elapsedNanos() {
187 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos;
188 }
189
190 /**
191 * 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