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
public class ScalarDerivativeResult extends Result<ScalarDerivativeResult>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScalarDerivativeResult(String label, double n, String unit, AggregationPolicy policy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringextendedInfo()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 ScalarDerivativeResultgetZeroResult()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
-
-
-
-
Constructor Detail
-
ScalarDerivativeResult
public ScalarDerivativeResult(String label, double n, String unit, AggregationPolicy policy)
-
-
Method Detail
-
getThreadAggregator
protected Aggregator<ScalarDerivativeResult> getThreadAggregator()
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<ScalarDerivativeResult>- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<ScalarDerivativeResult> getIterationAggregator()
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<ScalarDerivativeResult>- Returns:
- iteration aggregator
-
getZeroResult
protected ScalarDerivativeResult getZeroResult()
Description copied from class:ResultReturns "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:
getZeroResultin classResult<ScalarDerivativeResult>- Returns:
- result that represents "empty" result, null if no sensible "empty" result can be created
-
extendedInfo
public String extendedInfo()
Description copied from class:ResultPrint extended result information- Overrides:
extendedInfoin classResult<ScalarDerivativeResult>- Returns:
- String with extended info
-
-