public class CPUProfiler
extends java.lang.Object
| Constructor and Description |
|---|
CPUProfiler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
start(java.time.Duration duration,
java.io.OutputStream out)
Start a CPU profile.
|
public static void start(java.time.Duration duration,
java.io.OutputStream out)
throws java.io.IOException,
java.lang.InterruptedException
duration - the duration of the profileout - the output streamjava.io.IOException - if an I/O error occursjava.lang.InterruptedException