Package org.openjdk.jmh.profile
Class CompilerProfiler
java.lang.Object
org.openjdk.jmh.profile.CompilerProfiler
- All Implemented Interfaces:
InternalProfiler,Profiler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? 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.Human-readable one-line description of the profiler.
-
Constructor Details
-
CompilerProfiler
- Throws:
ProfilerException
-
-
Method Details
-
getDescription
Description copied from interface:ProfilerHuman-readable one-line description of the profiler.- Specified by:
getDescriptionin interfaceProfiler- Returns:
- description
-
beforeIteration
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
-
afterIteration
public 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
-