Package org.openjdk.jmh.profile
Class HotspotCompilationProfiler
- java.lang.Object
-
- org.openjdk.jmh.profile.HotspotCompilationProfiler
-
- All Implemented Interfaces:
InternalProfiler,Profiler
public class HotspotCompilationProfiler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HotspotCompilationProfiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<? extends Result>afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams, IterationResult result)Run this code after a benchmark iteration finishedvoidbeforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams)Run this code before starting the next benchmark iteration.static java.lang.Longconvert(java.lang.Object o)protected org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotInternalResultcounters()java.util.List<org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotCounter>getCounters()java.lang.StringgetDescription()Human-readable one-line description of the profiler.
-
-
-
Constructor Detail
-
HotspotCompilationProfiler
public HotspotCompilationProfiler() throws ProfilerException- Throws:
ProfilerException
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ProfilerHuman-readable one-line description of the profiler.- Returns:
- description
-
afterIteration
public java.util.Collection<? extends Result> afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams, IterationResult result)
Description copied from interface:InternalProfilerRun this code after a benchmark iteration finished- Specified by:
afterIterationin interfaceInternalProfiler- Parameters:
benchmarkParams- benchmark parameters used for current launchiterationParams- iteration parameters used for current launchresult- iteration result- Returns:
- profiler results
-
beforeIteration
public void beforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams)
Description copied from interface:InternalProfilerRun this code before starting the next benchmark iteration.- Specified by:
beforeIterationin interfaceInternalProfiler- Parameters:
benchmarkParams- benchmark parameters used for current launchiterationParams- iteration parameters used for current launch
-
convert
public static java.lang.Long convert(java.lang.Object o)
-
counters
protected org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotInternalResult counters()
-
getCounters
public java.util.List<org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotCounter> getCounters()
-
-