public class StackProfiler extends Object implements InternalProfiler
Modifier and Type | Class and Description |
---|---|
class |
StackProfiler.SamplingTask |
static class |
StackProfiler.StackResult |
static class |
StackProfiler.StackResultAggregator |
Constructor and Description |
---|
StackProfiler(String initLine) |
Modifier and Type | Method and 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.
|
String |
getDescription()
Human-readable one-line description of the profiler.
|
public StackProfiler(String initLine) throws ProfilerException
ProfilerException
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 result)
InternalProfiler
afterIteration
in interface InternalProfiler
benchmarkParams
- benchmark parameters used for current launchiterationParams
- iteration parameters used for current launchresult
- iteration resultpublic String getDescription()
Profiler
getDescription
in interface Profiler
Copyright © 2012–2021 Oracle. All rights reserved.