Package org.openjdk.jmh.results
Class SingleShotResult
- All Implemented Interfaces:
Serializable
Result class that stores once operation execution time.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Averages the time on all levels.Nested classes/interfaces inherited from class org.openjdk.jmh.results.Result
Result.LazyProps
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSingleShotResult
(ResultRole role, String label, long duration, TimeUnit outputTimeUnit) SingleShotResult
(ResultRole mode, String label, Statistics s, String unit) -
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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SingleShotResult
-
SingleShotResult
SingleShotResult(ResultRole mode, String label, Statistics s, String unit)
-
-
Method Details
-
extendedInfo
Description copied from class:Result
Print extended result information- Overrides:
extendedInfo
in classResult<SingleShotResult>
- Returns:
- String with extended info
-
getThreadAggregator
Description copied from class:Result
Thread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregator
in classResult<SingleShotResult>
- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<SingleShotResult>
- Returns:
- iteration aggregator
-