public void combine(ResultMetrics other) {
        totalQueries += other.totalQueries;
        minLatency = Math.min(minLatency, other.minLatency);
        maxLatency = Math.max(maxLatency, other.maxLatency);
        totalHits += other.totalHits;
        for (int i = 0; i < SLOTS; i++) {
            latencyHistogram[i] += other.latencyHistogram[i];
        }
    }
Various metrics stored during query execution

@author bjorncs
predicate-search/src/main/java/com/yahoo/search/predicate/benchmarks/ResultMetrics.java