MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / resume

Method resume

src/api/one/profiler/AsyncProfiler.java:138–144  ·  view source on GitHub ↗

Start or resume profiling without resetting collected data. Note that event and interval may change since the previous profiling session. @param event Profiling event, see Events @param interval Sampling interval, e.g. nanoseconds for Events.CPU @throws IllegalStateException If profiler

(String event, long interval)

Source from the content-addressed store, hash-verified

136 * @throws IllegalStateException If profiler is already running
137 */
138 @Override
139 public void resume(String event, long interval) throws IllegalStateException {
140 if (event == null) {
141 throw new NullPointerException();
142 }
143 start0(event, interval, false);
144 }
145
146 /**
147 * Stop profiling (without dumping results)

Callers

nothing calls this directly

Calls 1

start0Method · 0.95

Tested by

no test coverage detected