Package org.openjdk.jmh.results
Class SingleShotResult
- java.lang.Object
-
- org.openjdk.jmh.results.Result<SingleShotResult>
-
- org.openjdk.jmh.results.SingleShotResult
-
- All Implemented Interfaces:
Serializable
public class SingleShotResult extends Result<SingleShotResult>
Result class that stores once operation execution time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleShotResult(ResultRole role, String label, long duration, long ops, TimeUnit outputTimeUnit)
SingleShotResult(ResultRole role, String label, long duration, TimeUnit outputTimeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extendedInfo()
Print extended result informationprotected Aggregator<SingleShotResult>
getIterationAggregator()
Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<SingleShotResult>
getThreadAggregator()
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 Detail
-
SingleShotResult
public SingleShotResult(ResultRole role, String label, long duration, TimeUnit outputTimeUnit)
-
SingleShotResult
public SingleShotResult(ResultRole role, String label, long duration, long ops, TimeUnit outputTimeUnit)
-
-
Method Detail
-
extendedInfo
public String extendedInfo()
Description copied from class:Result
Print extended result information- Overrides:
extendedInfo
in classResult<SingleShotResult>
- Returns:
- String with extended info
-
getThreadAggregator
protected Aggregator<SingleShotResult> 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
protected Aggregator<SingleShotResult> getIterationAggregator()
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<SingleShotResult>
- Returns:
- iteration aggregator
-
-