Package org.openjdk.jmh.profile
Class PausesProfiler.PausesProfilerResult.JoiningAggregator
java.lang.Object
org.openjdk.jmh.profile.PausesProfiler.PausesProfilerResult.JoiningAggregator
- All Implemented Interfaces:
Aggregator<PausesProfiler.PausesProfilerResult>
- Enclosing class:
PausesProfiler.PausesProfilerResult
private static class PausesProfiler.PausesProfilerResult.JoiningAggregator
extends Object
implements Aggregator<PausesProfiler.PausesProfilerResult>
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 the results.
-
Constructor Details
-
JoiningAggregator
private JoiningAggregator()
-
-
Method Details
-
aggregate
public PausesProfiler.PausesProfilerResult aggregate(Collection<PausesProfiler.PausesProfilerResult> results) Description copied from interface:Aggregator
Aggregate the results.- Specified by:
aggregate
in interfaceAggregator<PausesProfiler.PausesProfilerResult>
- Parameters:
results
- results to aggregate- Returns:
- aggregated result; may throw exceptions on validation errors
-