Home
last modified time | relevance | path

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

/frameworks/av/media/libnblog/
DPerformanceAnalysis.cpp55 if (mBinSize <= 0 || mBins.size() < 2) { in add()
62 const int index = std::max(0, std::min((int)(mBins.size() - 1), unboundedIndex)); in add()
63 mBins[index]++; in add()
69 std::fill(mBins.begin(), mBins.end(), 0); in clear()
83 for (size_t i = 0; i < mBins.size(); i++) { in toString()
84 if (mBins[i] != 0) { in toString()
88 ss << static_cast<int>(i) - 1 << kDivider << mBins[i]; in toString()
98 if (totalCount() == 0 || mBinSize <= 0 || mBins.size() < 2) { in asciiArtString()
115 const unsigned maxCount = *std::max_element(mBins.begin(), mBins.end()); in asciiArtString()
123 for (; firstNonZeroBin < mBins.size() - 1 && mBins[firstNonZeroBin] == 0; firstNonZeroBin++) {} in asciiArtString()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/expresslog/
DHistogram.java149 final long[] mBins; field in Histogram.ScaledRangeOptions
180 mBins = initBins(binCount + 1, minValue, firstBinWidth, scaleFactor); in ScaledRangeOptions()
185 return mBins.length + 1; in getBinsCount()
190 if (sample < mBins[0]) { in getBinForSample()
193 } else if (sample >= mBins[mBins.length - 1]) { in getBinForSample()
195 return mBins.length; in getBinForSample()
198 return lower_bound(mBins, (long) sample) + 1; in getBinForSample()
/frameworks/base/core/java/android/webkit/
DDateSorter.java46 private long [] mBins = new long[DAY_COUNT-1]; field in DateSorter
61 mBins[0] = c.getTimeInMillis(); // Today in DateSorter()
63 mBins[1] = c.getTimeInMillis(); // Yesterday in DateSorter()
65 mBins[2] = c.getTimeInMillis(); // Five days ago in DateSorter()
68 mBins[3] = c.getTimeInMillis(); // One month ago in DateSorter()
99 if (time > mBins[i]) return i; in getIndex()
125 return mBins[index]; in getBoundary()
/frameworks/av/services/camera/libcameraservice/utils/
DLatencyHistogram.cpp30 mBins(binCount), in CameraLatencyHistogram()
45 mBins[binIndex]++; in add()
50 memset(mBins.data(), 0, mBins.size() * sizeof(int64_t)); in reset()
103 lineBinCounts += fmt::sprintf(" %02.2f", 100.0*mBins[i]/mTotalCount); in formatHistogramText()
DLatencyHistogram.h40 std::vector<int64_t> mBins; variable
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h71 : mBinSize(binSize), mNumBins(numBins), mLow(low), mBins(mNumBins + 2) {} in mBinSize()
131 std::vector<uint64_t> mBins; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt64744 Landroid/webkit/DateSorter;->mBins:[J