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

Method start

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

Start profiling @param event Profiling event, see Events @param interval Sampling interval, e.g. nanoseconds for Events.CPU @throws IllegalStateException If profiler is already running

(String event, long interval)

Source from the content-addressed store, hash-verified

120 * @throws IllegalStateException If profiler is already running
121 */
122 @Override
123 public void start(String event, long interval) throws IllegalStateException {
124 if (event == null) {
125 throw new NullPointerException();
126 }
127 start0(event, interval, true);
128 }
129
130 /**
131 * Start or resume profiling without resetting collected data.

Callers 1

mainMethod · 0.95

Calls 1

start0Method · 0.95

Tested by 1

mainMethod · 0.76