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