InternalProfiler, Profilerpublic class GCProfiler extends Object implements InternalProfiler
| Constructor | Description |
|---|---|
GCProfiler() |
| Modifier and Type | Method | Description |
|---|---|---|
Collection<? extends Result> |
afterIteration(BenchmarkParams benchmarkParams,
IterationParams iterationParams,
IterationResult iResult) |
Run this code after a benchmark iteration finished
|
void |
beforeIteration(BenchmarkParams benchmarkParams,
IterationParams iterationParams) |
Run this code before starting the next benchmark iteration.
|
String |
getDescription() |
Human-readable one-line description of the profiler.
|
public GCProfiler()
throws ProfilerException
ProfilerExceptionpublic String getDescription()
ProfilergetDescription in interface Profilerpublic void beforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams)
InternalProfilerbeforeIteration in interface InternalProfilerbenchmarkParams - benchmark parameters used for current launchiterationParams - iteration parameters used for current launchpublic Collection<? extends Result> afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams, IterationResult iResult)
InternalProfilerafterIteration in interface InternalProfilerbenchmarkParams - benchmark parameters used for current launchiterationParams - iteration parameters used for current launchiResult - iteration resultCopyright © 2012-2017 Oracle. All Rights Reserved.