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

Method main

test/test/jfr/CpuLoad.java:43–50  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

41 }
42
43 public static void main(String[] args) throws Exception {
44 Thread thread = new Thread(CpuLoad::normalCpuLoad);
45 thread.start();
46
47 sleep(2000);
48 cpuSpike();
49 thread.join();
50 }
51}

Callers

nothing calls this directly

Calls 3

sleepMethod · 0.95
cpuSpikeMethod · 0.95
startMethod · 0.65

Tested by

no test coverage detected