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