Package org.openjdk.jmh.results
Class SingleShotResult.AveragingAggregator
- java.lang.Object
-
- org.openjdk.jmh.results.SingleShotResult.AveragingAggregator
-
- All Implemented Interfaces:
Aggregator<SingleShotResult>
- Enclosing class:
- SingleShotResult
static class SingleShotResult.AveragingAggregator extends java.lang.Object implements Aggregator<SingleShotResult>
Averages the time on all levels.
-
-
Constructor Summary
Constructors Constructor Description AveragingAggregator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleShotResult
aggregate(java.util.Collection<SingleShotResult> results)
Aggregate the results.
-
-
-
Method Detail
-
aggregate
public SingleShotResult aggregate(java.util.Collection<SingleShotResult> results)
Description copied from interface:Aggregator
Aggregate the results.- Specified by:
aggregate
in interfaceAggregator<SingleShotResult>
- Parameters:
results
- results to aggregate- Returns:
- aggregated result; may throw exceptions on validation errors
-
-