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

Method start

output/java_guava/1.4.13/Stopwatch.java:144–150  ·  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

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

Callers 4

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