}
}
} else {
Statistics aggregated = stats.get(0).copy();
for (int i = 1; i < stats.size(); ++i) {
aggregated.merge(stats.get(i));
}
for (Map.Entry<String, OperationStats> entry : aggregated.getOperationsStats().entrySet()) {
Throughput throughput = entry.getValue().getRepresentation(Throughput.class, stats.size(), TimeUnit.MILLISECONDS.toNanos(aggregated.getEnd() - aggregated.getBegin()));
if (throughput != null && (throughput.actual != 0 || timeline.getValues(entry.getKey() + " Throughput") != null)) {
timeline.addValue(entry.getKey() + " Throughput", new Timeline.Value(now, throughput.actual));