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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Nested classes/interfaces inherited from class org.openjdk.jmh.results.Result
Result.LazyProps
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThroughputResult
(ResultRole role, String label, double operations, long durationNs, TimeUnit outputTimeUnit) ThroughputResult
(ResultRole role, String label, Statistics s, String unit, AggregationPolicy policy) -
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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ThroughputResult
public ThroughputResult(ResultRole role, String label, double operations, long durationNs, TimeUnit outputTimeUnit) -
ThroughputResult
ThroughputResult(ResultRole role, String label, Statistics s, String unit, AggregationPolicy policy)
-
-
Method Details
-
getThreadAggregator
Description copied from class:Result
Thread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregator
in classResult<ThroughputResult>
- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<ThroughputResult>
- Returns:
- iteration aggregator
-