public class HotspotThreadProfiler extends Object
Constructor and Description |
---|
HotspotThreadProfiler() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Result> |
afterIteration(BenchmarkParams benchmarkParams,
IterationParams iterationParams,
IterationResult result)
Run this code after a benchmark iteration finished
|
void |
beforeIteration(BenchmarkParams benchmarkParams,
IterationParams iterationParams)
Run this code before starting the next benchmark iteration.
|
static Long |
convert(Object o) |
protected org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotInternalResult |
counters() |
List<org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotCounter> |
getCounters() |
String |
getDescription()
Human-readable one-line description of the profiler.
|
public HotspotThreadProfiler() throws ProfilerException
ProfilerException
public String getDescription()
Profiler
public Collection<? extends Result> afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams, IterationResult result)
InternalProfiler
afterIteration
in interface InternalProfiler
benchmarkParams
- benchmark parameters used for current launchiterationParams
- iteration parameters used for current launchresult
- iteration resultpublic void beforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams)
InternalProfiler
beforeIteration
in interface InternalProfiler
benchmarkParams
- benchmark parameters used for current launchiterationParams
- iteration parameters used for current launchprotected org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotInternalResult counters()
public List<org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotCounter> getCounters()
Copyright © 2012–2020 Oracle. All rights reserved.