(String[] args)
| 12 | public class DumpCollapsed extends BusyLoops { |
| 13 | |
| 14 | public static void main(String[] args) throws Exception { |
| 15 | AsyncProfiler.getInstance().start(Events.CPU, 1_000_000); |
| 16 | |
| 17 | for (int i = 0; i < 5; i++) { |
| 18 | method1(); |
| 19 | method2(); |
| 20 | method3(); |
| 21 | } |
| 22 | |
| 23 | String profile = AsyncProfiler.getInstance().dumpCollapsed(Counter.SAMPLES); |
| 24 | System.out.println(profile); |
| 25 | } |
| 26 | } |
nothing calls this directly
no test coverage detected