Package org.openjdk.jmh.results
Class ScalarResult
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Aggregator<ScalarResult>
Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<ScalarResult>
Thread aggregator combines the thread results into iteration result.protected ScalarResult
Returns "0" result.Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, extendedInfo, getDerivativeResults, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, of, simpleExtendedInfo, toString
-
Constructor Details
-
ScalarResult
-
-
Method Details
-
getThreadAggregator
Description copied from class:Result
Thread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregator
in classResult<ScalarResult>
- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<ScalarResult>
- Returns:
- iteration aggregator
-
getZeroResult
Description copied from class:Result
Returns "0" result. This is used for un-biased aggregation of secondary results. For instance, profilers might omit results in some iterations, thus we should pretend there were 0 results.- Overrides:
getZeroResult
in classResult<ScalarResult>
- Returns:
- result that represents "empty" result, null if no sensible "empty" result can be created
-