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 ScalarResultReturns "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:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<ScalarResult>- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<ScalarResult>- Returns:
- iteration aggregator
-
getZeroResult
Description copied from class:ResultReturns "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:
getZeroResultin classResult<ScalarResult>- Returns:
- result that represents "empty" result, null if no sensible "empty" result can be created
-