Package org.openjdk.jmh.profile
Interface InternalProfiler
-
- All Superinterfaces:
Profiler
- All Known Implementing Classes:
AsyncProfiler,ClassloaderProfiler,CompilerProfiler,GCProfiler,JavaFlightRecorderProfiler,PausesProfiler,StackProfiler
public interface InternalProfiler extends Profiler
Internal profiler.Internal profilers run in the benchmark JVM, and may query the internal JVM facilities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface org.openjdk.jmh.profile.Profiler
getDescription
-
-
-
-
Method Detail
-
beforeIteration
void beforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams)
Run this code before starting the next benchmark iteration.- Parameters:
benchmarkParams- benchmark parameters used for current launchiterationParams- iteration parameters used for current launch
-
afterIteration
Collection<? extends Result> afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams, IterationResult result)
Run this code after a benchmark iteration finished- Parameters:
benchmarkParams- benchmark parameters used for current launchiterationParams- iteration parameters used for current launchresult- iteration result- Returns:
- profiler results
-
-