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