Package org.openjdk.jmh.results
Class SampleTimeResult.JoiningAggregator
java.lang.Object
org.openjdk.jmh.results.SampleTimeResult.JoiningAggregator
- All Implemented Interfaces:
Aggregator<SampleTimeResult>
- Enclosing class:
SampleTimeResult
static class SampleTimeResult.JoiningAggregator
extends Object
implements Aggregator<SampleTimeResult>
Always add up all the samples into final result.
This will allow aggregate result to achieve better accuracy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregate
(Collection<SampleTimeResult> results) Aggregate the results.
-
Constructor Details
-
JoiningAggregator
JoiningAggregator()
-
-
Method Details
-
aggregate
Description copied from interface:Aggregator
Aggregate the results.- Specified by:
aggregate
in interfaceAggregator<SampleTimeResult>
- Parameters:
results
- results to aggregate- Returns:
- aggregated result; may throw exceptions on validation errors
-