Home
last modified time | relevance | path

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

/frameworks/libs/modules-utils/java/com/android/modules/expresslog/
DHistogram.java110 public UniformOptions(@IntRange(from = 1) int binCount, float minValue, in UniformOptions()
112 if (binCount < 1) { in UniformOptions()
122 mBinSize = (mExclusiveMaxValue - minValue) / binCount; in UniformOptions()
125 mBinCount = binCount + 2; in UniformOptions()
162 public ScaledRangeOptions(@IntRange(from = 1) int binCount, int minValue, in ScaledRangeOptions()
165 if (binCount < 1) { in ScaledRangeOptions()
180 mBins = initBins(binCount + 1, minValue, firstBinWidth, scaleFactor); in ScaledRangeOptions()
/frameworks/libs/modules-utils/javatests/com/android/modules/expresslog/
DUniformOptionsTest.java98 final int binCount = 10; in testBinIndexForRangeEqual90() local
102 Histogram.UniformOptions options = new Histogram.UniformOptions(binCount, minValue, in testBinIndexForRangeEqual90()
109 assertEquals(binCount + 1, options.getBinForSample(maxValue)); in testBinIndexForRangeEqual90()
110 assertEquals(binCount + 1, options.getBinForSample(maxValue + 1)); in testBinIndexForRangeEqual90()
116 assertEquals(binCount, options.getBinForSample(maxValue - 1)); in testBinIndexForRangeEqual90()
119 final int binSize = (maxValue - minValue) / binCount; in testBinIndexForRangeEqual90()
121 for (int i = 0; i < binCount; i++) { in testBinIndexForRangeEqual90()
/frameworks/av/services/camera/libcameraservice/utils/
DLatencyHistogram.cpp27 CameraLatencyHistogram::CameraLatencyHistogram(int32_t binSizeMs, int32_t binCount) : in CameraLatencyHistogram() argument
29 mBinCount(binCount), in CameraLatencyHistogram()
30 mBins(binCount), in CameraLatencyHistogram()
DLatencyHistogram.h31 CameraLatencyHistogram(int32_t binSizeMs, int32_t binCount=10);
/frameworks/av/media/libnblog/
DPerformanceAnalysis.cpp143 const uint64_t binCount = mBins[bin]; in asciiArtString() local
144 if (binCount > 0) { in asciiArtString()
145 increments = log2(binCount) + 1; in asciiArtString()
149 << binCount << "\n"; in asciiArtString()