Package org.openjdk.jmh.profile
Class SafepointsProfiler.SafepointProfilerResult
- java.lang.Object
-
- org.openjdk.jmh.results.Result<SafepointsProfiler.SafepointProfilerResult>
-
- org.openjdk.jmh.profile.SafepointsProfiler.SafepointProfilerResult
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- SafepointsProfiler
static class SafepointsProfiler.SafepointProfilerResult extends Result<SafepointsProfiler.SafepointProfilerResult>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SafepointsProfiler.SafepointProfilerResult.JoiningAggregator
Always add up all the samples into final result.
-
Field Summary
Fields Modifier and Type Field Description private SampleBuffer
buffer
private static long
serialVersionUID
private java.lang.String
suffix
-
Constructor Summary
Constructors Constructor Description SafepointProfilerResult(java.lang.String suffix, SampleBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Collection<? extends Result>
getDerivativeResults()
protected Aggregator<SafepointsProfiler.SafepointProfilerResult>
getIterationAggregator()
Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<SafepointsProfiler.SafepointProfilerResult>
getThreadAggregator()
Thread aggregator combines the thread results into iteration result.-
Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, extendedInfo, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, getZeroResult, of, simpleExtendedInfo, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
suffix
private final java.lang.String suffix
-
buffer
private final SampleBuffer buffer
-
-
Constructor Detail
-
SafepointProfilerResult
public SafepointProfilerResult(java.lang.String suffix, SampleBuffer buffer)
-
-
Method Detail
-
getThreadAggregator
protected Aggregator<SafepointsProfiler.SafepointProfilerResult> getThreadAggregator()
Description copied from class:Result
Thread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregator
in classResult<SafepointsProfiler.SafepointProfilerResult>
- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<SafepointsProfiler.SafepointProfilerResult> getIterationAggregator()
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<SafepointsProfiler.SafepointProfilerResult>
- Returns:
- iteration aggregator
-
getDerivativeResults
protected java.util.Collection<? extends Result> getDerivativeResults()
- Overrides:
getDerivativeResults
in classResult<SafepointsProfiler.SafepointProfilerResult>
- Returns:
- derivative results for this result. These do not participate in aggregation, and computed on the spot from the aggregated result.
-
-