Class SampleTimeResult
- All Implemented Interfaces:
Serializable
Result class that samples operation time.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classAlways add up all the samples into final result.Nested classes/interfaces inherited from class Result
Result.LazyProps -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SampleBufferprivate final TimeUnitprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionSampleTimeResult(ResultRole role, String label, SampleBuffer buffer, String unit, TimeUnit outputTimeUnit) SampleTimeResult(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.private static Statisticsof(SampleBuffer buffer, TimeUnit outputTimeUnit) Methods inherited from class Result
distributionExtendedInfo, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, getZeroResult, of, simpleExtendedInfo, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
buffer
-
outputTimeUnit
-
-
Constructor Details
-
SampleTimeResult
public SampleTimeResult(ResultRole role, String label, SampleBuffer buffer, TimeUnit outputTimeUnit) -
SampleTimeResult
SampleTimeResult(ResultRole role, String label, SampleBuffer buffer, String unit, TimeUnit outputTimeUnit)
-
-
Method Details
-
of
-
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
-