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 java.lang.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 Modifier Constructor Description private
JoiningAggregator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PausesProfiler.PausesProfilerResult
aggregate(java.util.Collection<PausesProfiler.PausesProfilerResult> results)
Aggregate the results.
-
-
-
Method Detail
-
aggregate
public PausesProfiler.PausesProfilerResult aggregate(java.util.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
-
-