Package org.openjdk.jmh.results
Class SampleTimeResult
- All Implemented Interfaces:
Serializable
Result class that samples operation time.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSampleTimeResult(ResultRole role, String label, SampleBuffer buffer, TimeUnit outputTimeUnit) -
Method Summary
Modifier and TypeMethodDescriptionPrint extended result informationprotected Collection<? extends Result>protected Aggregator<SampleTimeResult>Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<SampleTimeResult>Thread aggregator combines the thread results into iteration result.Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, getZeroResult, of, simpleExtendedInfo, toString
-
Constructor Details
-
SampleTimeResult
public SampleTimeResult(ResultRole role, String label, SampleBuffer buffer, TimeUnit outputTimeUnit)
-
-
Method Details
-
getDerivativeResults
- Overrides:
getDerivativeResultsin classResult<SampleTimeResult>- Returns:
- derivative results for this result. These do not participate in aggregation, and computed on the spot from the aggregated result.
-
extendedInfo
Description copied from class:ResultPrint extended result information- Overrides:
extendedInfoin classResult<SampleTimeResult>- Returns:
- String with extended info
-
getThreadAggregator
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<SampleTimeResult>- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<SampleTimeResult>- Returns:
- iteration aggregator
-