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

Method start

output/java_guava/1.4.18/Stopwatch.java:148–154  ·  view source on GitHub ↗

Starts the stopwatch. @return this Stopwatch instance @throws IllegalStateException if the stopwatch is already running.

()

Source from the content-addressed store, hash-verified

146 */
147
148 @CanIgnoreReturnValue
149 public Stopwatch start() {
150 checkState(!isRunning, "This stopwatch is already running.");
151 isRunning = true;
152 startTick = ticker.read();
153 return this;
154 }
155
156 /**
157 * Stops the stopwatch. Future reads will return the fixed duration that had elapsed up to this

Callers 6

executeMethod · 0.45
executeMethod · 0.45
separatorStartMethod · 0.45
startFinalizerMethod · 0.45
createStartedMethod · 0.45
loadFutureMethod · 0.45

Calls 2

checkStateMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected