Package org.openjdk.jmh.results
Class ScalarDerivativeResult
- java.lang.Object
-
- org.openjdk.jmh.results.Result<ScalarDerivativeResult>
-
- org.openjdk.jmh.results.ScalarDerivativeResult
-
- All Implemented Interfaces:
java.io.Serializable
public class ScalarDerivativeResult extends Result<ScalarDerivativeResult>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ScalarDerivativeResult.ScalarResultAggregator
-
Nested classes/interfaces inherited from class org.openjdk.jmh.results.Result
Result.LazyProps
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ScalarDerivativeResult(java.lang.String label, double n, java.lang.String unit, AggregationPolicy policy)
ScalarDerivativeResult(java.lang.String label, Statistics s, java.lang.String unit, AggregationPolicy policy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
extendedInfo()
Print extended result informationprotected Aggregator<ScalarDerivativeResult>
getIterationAggregator()
Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<ScalarDerivativeResult>
getThreadAggregator()
Thread aggregator combines the thread results into iteration result.protected ScalarDerivativeResult
getZeroResult()
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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScalarDerivativeResult
public ScalarDerivativeResult(java.lang.String label, double n, java.lang.String unit, AggregationPolicy policy)
-
ScalarDerivativeResult
ScalarDerivativeResult(java.lang.String label, Statistics s, java.lang.String unit, AggregationPolicy policy)
-
-
Method Detail
-
getThreadAggregator
protected Aggregator<ScalarDerivativeResult> 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
protected Aggregator<ScalarDerivativeResult> 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
protected ScalarDerivativeResult 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
public java.lang.String extendedInfo()
Description copied from class:Result
Print extended result information- Overrides:
extendedInfo
in classResult<ScalarDerivativeResult>
- Returns:
- String with extended info
-
-