Profiler
ClassloaderProfiler
, CompilerProfiler
, GCProfiler
, HotspotClassloadingProfiler
, HotspotCompilationProfiler
, HotspotMemoryProfiler
, HotspotRuntimeProfiler
, HotspotThreadProfiler
, PausesProfiler
, StackProfiler
public interface InternalProfiler extends Profiler
Internal profilers run in the benchmark JVM, and may query the internal JVM facilities.
Modifier and Type | Method | 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.
|
getDescription
void beforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams)
benchmarkParams
- benchmark parameters used for current launchiterationParams
- iteration parameters used for current launchCollection<? extends Result> afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams, IterationResult result)
benchmarkParams
- benchmark parameters used for current launchiterationParams
- iteration parameters used for current launchresult
- iteration resultCopyright © 2012-2016 Oracle. All Rights Reserved.