Searched refs:bigBucketIndex (Results 1 – 1 of 1) sorted by relevance
91 int bigBucketIndex = -1; in addValueToLogHistogram() local93 bigBucketIndex = (int) (Math.log(logArg) / hp.mLog); in addValueToLogHistogram()96 if (bigBucketIndex < 0) { in addValueToLogHistogram()97 bigBucketIndex = 0; in addValueToLogHistogram()99 } else if (bigBucketIndex >= hp.n) { in addValueToLogHistogram()100 bigBucketIndex = hp.n - 1; in addValueToLogHistogram()103 subBucketIndex = (int) ((x - hp.bb[bigBucketIndex]) / hp.sbw[bigBucketIndex]); in addValueToLogHistogram()105 bigBucketIndex++; in addValueToLogHistogram()106 if (bigBucketIndex >= hp.n) { in addValueToLogHistogram()107 bigBucketIndex = hp.n - 1; in addValueToLogHistogram()[all …]