manually port in HDR sampling fix from Stefano

This commit is contained in:
Jonathan Shook 2022-07-01 11:37:43 -05:00
parent 20a75fd428
commit bdd8317d61

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 2022 nosqlbench
*
* Copyright 2016 jshook
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
* /
*/
package io.nosqlbench.engine.api.metrics;
@ -92,15 +93,15 @@ public class HistoStatsCSVWriter {
csvLine.append(",").append(len);
csvLine.append(",").append(h.getTotalCount());
csvLine.append(",").append(h.getMinValue());
csvLine.append(",").append(h.getValueAtPercentile(0.25D));
csvLine.append(",").append(h.getValueAtPercentile(0.50D));
csvLine.append(",").append(h.getValueAtPercentile(0.75D));
csvLine.append(",").append(h.getValueAtPercentile(0.90D));
csvLine.append(",").append(h.getValueAtPercentile(0.95D));
csvLine.append(",").append(h.getValueAtPercentile(0.98D));
csvLine.append(",").append(h.getValueAtPercentile(0.99D));
csvLine.append(",").append(h.getValueAtPercentile(0.999D));
csvLine.append(",").append(h.getValueAtPercentile(0.9999D));
csvLine.append(",").append(h.getValueAtPercentile(25.00D));
csvLine.append(",").append(h.getValueAtPercentile(50.00D));
csvLine.append(",").append(h.getValueAtPercentile(75.00D));
csvLine.append(",").append(h.getValueAtPercentile(90.00D));
csvLine.append(",").append(h.getValueAtPercentile(95.00D));
csvLine.append(",").append(h.getValueAtPercentile(98.00D));
csvLine.append(",").append(h.getValueAtPercentile(99.00D));
csvLine.append(",").append(h.getValueAtPercentile(99.90D));
csvLine.append(",").append(h.getValueAtPercentile(99.99D));
csvLine.append(",").append(h.getMaxValue());
writer.println(csvLine);