Home
last modified time | relevance | path

Searched refs:subBucketIndex (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java95 int subBucketIndex; in addValueToLogHistogram() local
98 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()