Package org.openjdk.jmh.results
Class ThroughputResult
- java.lang.Object
-
- org.openjdk.jmh.results.Result<ThroughputResult>
-
- org.openjdk.jmh.results.ThroughputResult
-
- All Implemented Interfaces:
Serializable
public class ThroughputResult extends Result<ThroughputResult>
Result class that counts the number of operations performed during a specified unit of time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThroughputResult(ResultRole role, String label, double operations, long durationNs, TimeUnit outputTimeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Aggregator<ThroughputResult>getIterationAggregator()Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<ThroughputResult>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
-
ThroughputResult
public ThroughputResult(ResultRole role, String label, double operations, long durationNs, TimeUnit outputTimeUnit)
-
-
Method Detail
-
getThreadAggregator
protected Aggregator<ThroughputResult> getThreadAggregator()
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<ThroughputResult>- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<ThroughputResult> getIterationAggregator()
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<ThroughputResult>- Returns:
- iteration aggregator
-
-