Searched refs:subBucketIndex (Results 1 – 1 of 1) sorted by relevance
95 int subBucketIndex; in addValueToLogHistogram() local98 subBucketIndex = 0; in addValueToLogHistogram()101 subBucketIndex = hp.s - 1; in addValueToLogHistogram()103 subBucketIndex = (int) ((x - hp.bb[bigBucketIndex]) / hp.sbw[bigBucketIndex]); in addValueToLogHistogram()104 if (subBucketIndex >= hp.s) { // probably a rounding error so move to next big bucket in addValueToLogHistogram()108 subBucketIndex = hp.s - 1; in addValueToLogHistogram()110 subBucketIndex = (int) ((x - hp.bb[bigBucketIndex]) / hp.sbw[bigBucketIndex]); in addValueToLogHistogram()114 int key = bigBucketIndex * hp.s + subBucketIndex; in addValueToLogHistogram()