Package org.openjdk.jmh.results
Class SampleTimeResult
- java.lang.Object
-
- org.openjdk.jmh.results.Result<SampleTimeResult>
-
- org.openjdk.jmh.results.SampleTimeResult
-
- All Implemented Interfaces:
Serializable
public class SampleTimeResult extends Result<SampleTimeResult>
Result class that samples operation time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SampleTimeResult(ResultRole role, String label, SampleBuffer buffer, TimeUnit outputTimeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringextendedInfo()Print extended result informationprotected Collection<? extends Result>getDerivativeResults()protected Aggregator<SampleTimeResult>getIterationAggregator()Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<SampleTimeResult>getThreadAggregator()Thread aggregator combines the thread results into iteration result.-
Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, getZeroResult, of, simpleExtendedInfo, toString
-
-
-
-
Constructor Detail
-
SampleTimeResult
public SampleTimeResult(ResultRole role, String label, SampleBuffer buffer, TimeUnit outputTimeUnit)
-
-
Method Detail
-
getDerivativeResults
protected Collection<? extends Result> getDerivativeResults()
- Overrides:
getDerivativeResultsin classResult<SampleTimeResult>- Returns:
- derivative results for this result. These do not participate in aggregation, and computed on the spot from the aggregated result.
-
extendedInfo
public String extendedInfo()
Description copied from class:ResultPrint extended result information- Overrides:
extendedInfoin classResult<SampleTimeResult>- Returns:
- String with extended info
-
getThreadAggregator
protected Aggregator<SampleTimeResult> getThreadAggregator()
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<SampleTimeResult>- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<SampleTimeResult> getIterationAggregator()
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<SampleTimeResult>- Returns:
- iteration aggregator
-
-