Package org.openjdk.jmh.results
Class ScalarDerivativeResult
java.lang.Object
org.openjdk.jmh.results.Result<ScalarDerivativeResult>
org.openjdk.jmh.results.ScalarDerivativeResult
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Nested classes/interfaces inherited from class org.openjdk.jmh.results.Result
Result.LazyProps
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScalarDerivativeResult
(String label, double n, String unit, AggregationPolicy policy) ScalarDerivativeResult
(String label, Statistics s, String unit, AggregationPolicy policy) -
Method Summary
Modifier and TypeMethodDescriptionPrint extended result informationprotected Aggregator
<ScalarDerivativeResult> Iteration aggregator combines the iteration results into benchmar result.protected Aggregator
<ScalarDerivativeResult> Thread aggregator combines the thread results into iteration result.protected ScalarDerivativeResult
Returns "0" result.Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, getDerivativeResults, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, of, simpleExtendedInfo, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ScalarDerivativeResult
-
ScalarDerivativeResult
ScalarDerivativeResult(String label, Statistics s, String unit, AggregationPolicy policy)
-
-
Method Details
-
getThreadAggregator
Description copied from class:Result
Thread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregator
in classResult<ScalarDerivativeResult>
- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<ScalarDerivativeResult>
- Returns:
- iteration aggregator
-
getZeroResult
Description copied from class:Result
Returns "0" result. This is used for un-biased aggregation of secondary results. For instance, profilers might omit results in some iterations, thus we should pretend there were 0 results.- Overrides:
getZeroResult
in classResult<ScalarDerivativeResult>
- Returns:
- result that represents "empty" result, null if no sensible "empty" result can be created
-
extendedInfo
Description copied from class:Result
Print extended result information- Overrides:
extendedInfo
in classResult<ScalarDerivativeResult>
- Returns:
- String with extended info
-