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 classScalarDerivativeResult.ScalarResultAggregator-
Nested classes/interfaces inherited from class org.openjdk.jmh.results.Result
Result.LazyProps
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
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.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
-
-
-
-
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: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 java.lang.String extendedInfo()
Description copied from class:ResultPrint extended result information- Overrides:
extendedInfoin classResult<ScalarDerivativeResult>- Returns:
- String with extended info
-
-