Package org.openjdk.jmh.results
Class AverageTimeResult
- java.lang.Object
-
- org.openjdk.jmh.results.Result<AverageTimeResult>
-
- org.openjdk.jmh.results.AverageTimeResult
-
- All Implemented Interfaces:
Serializable
public class AverageTimeResult extends Result<AverageTimeResult>
Result class that stores average operation time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AverageTimeResult(ResultRole mode, String label, double operations, long durationNs, TimeUnit tu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Aggregator<AverageTimeResult>
getIterationAggregator()
Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<AverageTimeResult>
getThreadAggregator()
Thread aggregator combines the thread results into iteration result.-
Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, extendedInfo, getDerivativeResults, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, getZeroResult, of, simpleExtendedInfo, toString
-
-
-
-
Constructor Detail
-
AverageTimeResult
public AverageTimeResult(ResultRole mode, String label, double operations, long durationNs, TimeUnit tu)
-
-
Method Detail
-
getThreadAggregator
protected Aggregator<AverageTimeResult> getThreadAggregator()
Description copied from class:Result
Thread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregator
in classResult<AverageTimeResult>
- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<AverageTimeResult> getIterationAggregator()
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<AverageTimeResult>
- Returns:
- iteration aggregator
-
-