| Package | Description |
|---|---|
| com.papertrail.profiler |
| Modifier and Type | Method and Description |
|---|---|
CpuProfile |
CpuProfile.record(org.joda.time.Duration howlong,
int frequency) |
static CpuProfile |
CpuProfile.record(org.joda.time.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(org.joda.time.Duration howlong,
int frequency) |
static Future<CpuProfile> |
CpuProfile.recordInThread(org.joda.time.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 © 2015. All rights reserved.