Package org.HdrHistogram

Examples of org.HdrHistogram.AbstractHistogram.allValues()


         double percentile = Percentile.getPercentile(args);
         return (T) new Percentile(histogram.getValueAtPercentile(percentile));
      } else if (clazz == Histogram.class) {
         int buckets = Histogram.getBuckets(args);
         double percentile = Histogram.getPercentile(args);
         AbstractHistogram.AllValues values = histogram.allValues();
         ArrayList<Long> ranges = new ArrayList<>();
         ArrayList<Long> counts = new ArrayList<>();
         long min = Math.max(histogram.getMinValue(), 1);
         long max = Math.max(histogram.getValueAtPercentile(percentile), 1);
         if (max < min) max = Math.max(histogram.getMaxValue(), min + 1);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.