Package org.openjdk.jmh.results
Class ScalarResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LinuxPerfNormProfiler.PerfResult
- 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
ConstructorsConstructorDescriptionScalarResult
(String label, double n, String unit, AggregationPolicy policy) ScalarResult
(String label, Statistics s, String unit, AggregationPolicy policy) -
Method Summary
Modifier and TypeMethodDescriptionprotected Aggregator
<ScalarResult> Iteration aggregator combines the iteration results into benchmar result.protected Aggregator
<ScalarResult> Thread aggregator combines the thread results into iteration result.protected ScalarResult
Returns "0" result.Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, extendedInfo, getDerivativeResults, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, of, simpleExtendedInfo, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ScalarResult
-
ScalarResult
ScalarResult(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<ScalarResult>
- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<ScalarResult>
- 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<ScalarResult>
- Returns:
- result that represents "empty" result, null if no sensible "empty" result can be created
-