Searched refs:mBins (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libnblog/ |
D | PerformanceAnalysis.cpp | 55 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/base/core/java/android/webkit/ |
D | DateSorter.java | 43 private long [] mBins = new long[DAY_COUNT-1]; field in DateSorter 58 mBins[0] = c.getTimeInMillis(); // Today in DateSorter() 60 mBins[1] = c.getTimeInMillis(); // Yesterday in DateSorter() 62 mBins[2] = c.getTimeInMillis(); // Five days ago in DateSorter() 65 mBins[3] = c.getTimeInMillis(); // One month ago in DateSorter() 93 if (time > mBins[i]) return i; in getIndex() 119 return mBins[index]; in getBoundary()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | LatencyHistogram.cpp | 29 mBins(binCount), in CameraLatencyHistogram() 44 mBins[binIndex]++; in add() 49 memset(mBins.data(), 0, mBins.size() * sizeof(int64_t)); in reset() 101 lineBinCounts.appendFormat(" %02.2f", 100.0*mBins[i]/mTotalCount); in formatHistogramText()
|
D | LatencyHistogram.h | 40 std::vector<int64_t> mBins; variable
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | PerformanceAnalysis.h | 71 : mBinSize(binSize), mNumBins(numBins), mLow(low), mBins(mNumBins + 2) {} in mBinSize() 131 std::vector<uint64_t> mBins; variable
|