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)
| 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) |