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

Method start

guava/src/com/google/common/base/Stopwatch.java:163–169  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

161 * @throws IllegalStateException if the stopwatch is already running.
162 */
163 @CanIgnoreReturnValue
164 public Stopwatch start() {
165 checkState(!isRunning, "This stopwatch is already running.");
166 isRunning = true;
167 startTick = ticker.read();
168 return this;
169 }
170
171 /**
172 * Stops the stopwatch. Future reads will return the fixed duration that had elapsed up to this

Callers 15

separatorStartMethod · 0.45
createStartedMethod · 0.45
startFinalizerMethod · 0.45
executorMethod · 0.45
executorMethod · 0.45
timeContendedExecuteMethod · 0.45
measureSizeMethod · 0.45
doConcurrentGetMethod · 0.45

Calls 2

checkStateMethod · 0.45
readMethod · 0.45