| Package | Description |
|---|---|
| com.papertrail.profiler |
| Modifier and Type | Method and Description |
|---|---|
CpuProfile |
CpuProfile.record(Duration howlong,
int frequency) |
static CpuProfile |
CpuProfile.record(Duration howlong,
int frequency,
Thread.State state)
Profile CPU usage of threads in `state` for `howlong`, sampling stacks at
`frequency` Hz.
|
| Modifier and Type | Method and Description |
|---|---|
static Future<CpuProfile> |
CpuProfile.recordInThread(Duration howlong,
int frequency) |
static Future<CpuProfile> |
CpuProfile.recordInThread(Duration howlong,
int frequency,
Thread.State state)
Call `record` in a thread with the given parameters, returning a `Future`
representing the completion of the profile.
|
Copyright © 2014–2019 Philip Helger. All rights reserved.