Searched refs:bigBucketIndex (Results 1 – 1 of 1) sorted by relevance
87 int bigBucketIndex = -1; in addValueToLogHistogram() local89 bigBucketIndex = (int) (Math.log(logArg) / hp.mLog); in addValueToLogHistogram()92 if (bigBucketIndex < 0) { in addValueToLogHistogram()93 bigBucketIndex = 0; in addValueToLogHistogram()95 } else if (bigBucketIndex >= hp.n) { in addValueToLogHistogram()96 bigBucketIndex = hp.n - 1; in addValueToLogHistogram()99 subBucketIndex = (int) ((x - hp.bb[bigBucketIndex]) / hp.sbw[bigBucketIndex]); in addValueToLogHistogram()101 bigBucketIndex++; in addValueToLogHistogram()102 if (bigBucketIndex >= hp.n) { in addValueToLogHistogram()103 bigBucketIndex = hp.n - 1; in addValueToLogHistogram()[all …]