public class GCProfiler extends Object implements InternalProfiler
Constructor and Description |
---|
GCProfiler() |
Modifier and Type | Method and 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.
|
void |
installHooks() |
void |
uninstallHooks() |
public GCProfiler() throws ProfilerException
ProfilerException
public String getDescription()
Profiler
getDescription
in interface Profiler
public void beforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams)
InternalProfiler
beforeIteration
in interface InternalProfiler
benchmarkParams
- benchmark parameters used for current launchiterationParams
- iteration parameters used for current launchpublic Collection<? extends Result> afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams, IterationResult iResult)
InternalProfiler
afterIteration
in interface InternalProfiler
benchmarkParams
- benchmark parameters used for current launchiterationParams
- iteration parameters used for current launchiResult
- iteration resultpublic void installHooks()
public void uninstallHooks()
Copyright © 2012-2015 Oracle. All Rights Reserved.