public class StackProfilerextends Objectimplements InternalProfiler
Modifier and Type | Class and Description |
---|---|
static class | StackProfiler.SamplingTask |
static class | StackProfiler.StackResult |
static class | StackProfiler.StackResultAggregator |
Constructor and Description |
---|
StackProfiler() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Result> | afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams) Run this code after a benchmark iteration finished |
void | beforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams) Run this code before starting the next benchmark iteration. |
boolean | checkSupport(List<String> msg) Check the support for a given profiler. |
String | getDescription() Human-readable one-line description of the profiler. |
String | label() Unique label for the 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)
InternalProfiler
afterIteration
in interface InternalProfiler
benchmarkParams
- benchmark parameters used for current launchiterationParams
- iteration parameters used for current launchpublic boolean checkSupport(List<String> msg)
Profiler
checkSupport
in interface Profiler
msg
- where to put the diagnostic messagespublic String getDescription()
Profiler
getDescription
in interface Profiler
Copyright © 2012-2015 Oracle. All Rights Reserved.