Package org.openjdk.jmh.results
Class SingleShotResult
- All Implemented Interfaces:
Serializable
Result class that stores once operation execution time.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSingleShotResult(ResultRole role, String label, long duration, long ops, TimeUnit outputTimeUnit) SingleShotResult(ResultRole role, String label, long duration, TimeUnit outputTimeUnit) -
Method Summary
Modifier and TypeMethodDescriptionPrint extended result informationprotected Aggregator<SingleShotResult>Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<SingleShotResult>Thread aggregator combines the thread results into iteration result.Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, getDerivativeResults, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, getZeroResult, of, simpleExtendedInfo, toString
-
Constructor Details
-
SingleShotResult
-
SingleShotResult
public SingleShotResult(ResultRole role, String label, long duration, long ops, TimeUnit outputTimeUnit)
-
-
Method Details
-
extendedInfo
Description copied from class:ResultPrint extended result information- Overrides:
extendedInfoin classResult<SingleShotResult>- Returns:
- String with extended info
-
getThreadAggregator
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<SingleShotResult>- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<SingleShotResult>- Returns:
- iteration aggregator
-