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 StringextendedInfo()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:ResultPrint extended result information- Overrides:
extendedInfoin classResult<SingleShotResult>- Returns:
- String with extended info
-
getThreadAggregator
protected Aggregator<SingleShotResult> getThreadAggregator()
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<SingleShotResult>- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<SingleShotResult> getIterationAggregator()
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<SingleShotResult>- Returns:
- iteration aggregator
-
-