Home
last modified time | relevance | path

Searched refs:Histogram (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/libs/modules-utils/javatests/com/android/modules/expresslog/
DScaledRangeOptionsTest.java34 Histogram.ScaledRangeOptions options1 = new Histogram.ScaledRangeOptions(1, 100, 100, 2); in testGetBinsCount()
37 Histogram.ScaledRangeOptions options10 = new Histogram.ScaledRangeOptions(10, 100, 100, 2); in testGetBinsCount()
43 new Histogram.ScaledRangeOptions(0, 100, 100, 2); in testConstructZeroBinsCount()
48 new Histogram.ScaledRangeOptions(-1, 100, 100, 2); in testConstructNegativeBinsCount()
53 new Histogram.ScaledRangeOptions(10, 100, -100, 2); in testConstructNegativeFirstBinWidth()
58 new Histogram.ScaledRangeOptions(10, 100, 0.5f, 2); in testConstructTooSmallFirstBinWidth()
63 new Histogram.ScaledRangeOptions(10, 100, 100, -2); in testConstructNegativeScaleFactor()
68 new Histogram.ScaledRangeOptions(10, 100, 100, 0.5f); in testConstructTooSmallScaleFactor()
73 new Histogram.ScaledRangeOptions(10, 100, 100, 500.f); in testConstructTooBigScaleFactor()
78 new Histogram.ScaledRangeOptions(100, 100, 100, 10.f); in testConstructTooBigBinRange()
[all …]
DUniformOptionsTest.java33 Histogram.UniformOptions options1 = new Histogram.UniformOptions(1, 100, 1000); in testGetBinsCount()
36 Histogram.UniformOptions options10 = new Histogram.UniformOptions(10, 100, 1000); in testGetBinsCount()
42 new Histogram.UniformOptions(0, 100, 1000); in testConstructZeroBinsCount()
47 new Histogram.UniformOptions(-1, 100, 1000); in testConstructNegativeBinsCount()
52 new Histogram.UniformOptions(10, 1000, 100); in testConstructMaxValueLessThanMinValue()
57 Histogram.UniformOptions options = new Histogram.UniformOptions(10, 1, 11); in testBinIndexForRangeEqual1()
65 Histogram.UniformOptions options = new Histogram.UniformOptions(10, 1, 21); in testBinIndexForRangeEqual2()
74 Histogram.UniformOptions options = new Histogram.UniformOptions(2, 0, 10); in testBinIndexForRangeEqual5()
85 Histogram.UniformOptions options = new Histogram.UniformOptions(10, 1, 101); in testBinIndexForRangeEqual10()
102 Histogram.UniformOptions options = new Histogram.UniformOptions(binCount, minValue, in testBinIndexForRangeEqual90()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorFrameworkStatsLogger.java28 import com.android.modules.expresslog.Histogram;
46 private static final Histogram sVibrationParamRequestLatencyHistogram = new Histogram(
48 new Histogram.UniformOptions(20, 0, 100));
52 private static final Histogram sVibrationParamScaleHistogram = new Histogram(
53 "vibrator.value_vibration_param_scale", new Histogram.UniformOptions(20, 0, 2));
57 private static final Histogram sAdaptiveHapticScaleHistogram = new Histogram(
59 new Histogram.UniformOptions(20, 0, 2));
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h44 class Histogram {
70 Histogram(double binSize, size_t numBins, double low = 0.)
73 Histogram(const Config &c) in Histogram() function
74 : Histogram(c.binSize, c.numBins, c.low) {} in Histogram()
145 static constexpr Histogram::Config kWorkConfig = { 0.25, 20, 2.};
149 static constexpr Histogram::Config kLatencyConfig = { 2., 10, 10.};
153 static constexpr Histogram::Config kWarmupConfig = { 5., 10, 10.};
159 Histogram workHist{kWorkConfig};
160 Histogram latencyHist{kLatencyConfig};
161 Histogram warmupHist{kWarmupConfig};
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h35 class Histogram {
100 std::unordered_map<std::string, Histogram> deltas;
153 Histogram displayDeadlineDeltas;
154 Histogram displayPresentDeltas;
179 Histogram presentToPresentLegacy;
180 Histogram frameDurationLegacy;
181 Histogram renderEngineTimingLegacy;
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
Dreduce_general_examples_explicit.rscript59 typedef uint32_t Histogram[BUCKETS];
61 static void hsgiInit(Histogram *h) {
66 static void hsgiAccum(Histogram *h, uchar in) { ++(*h)[in]; }
68 static void hsgiCombine(Histogram *accum, const Histogram *addend) {
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java41 import com.android.modules.expresslog.Histogram;
57 private static final Histogram sPrepareWebViewInSystemServerLatency = new Histogram(
59 new Histogram.ScaledRangeOptions(20, 0, 1, 1.5f));
61 private static final Histogram sAppWaitingForRelroCompletionDelay = new Histogram(
63 new Histogram.ScaledRangeOptions(20, 0, 1, 1.4f));
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rscript126 typedef uint32_t Histogram[BUCKETS];
128 static void hsgAccum(Histogram *h, uchar in) { ++(*h)[in]; }
130 static void hsgCombine(Histogram *accum, const Histogram *addend) {
138 static void modeOutConvert(int2 *result, const Histogram *h) {
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rscript129 typedef uint32_t Histogram[BUCKETS];
131 static void hsgAccum(Histogram *h, uchar in) { ++(*h)[in]; }
133 static void hsgCombine(Histogram *accum, const Histogram *addend) {
142 static void modeOutConvert(int2 *result, const Histogram *h) {
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreduce_backward.rscript149 typedef uint32_t Histogram[BUCKETS];
151 static void hsgAccum(Histogram *h, uchar in) { ++(*h)[in]; }
153 static void hsgCombine(Histogram *accum, const Histogram *addend) {
161 static void modeOutConvert(int2 *result, const Histogram *h) {
Dreduce.rscript230 typedef uint32_t Histogram[BUCKETS];
232 static void hsgAccum(Histogram *h, uchar in) { ++(*h)[in]; }
234 static void hsgCombine(Histogram *accum, const Histogram *addend) {
243 static void modeOutConvert(int2 *result, const Histogram *h) {
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce_backward.rscript147 typedef uint32_t Histogram[BUCKETS];
149 static void hsgAccum(Histogram *h, uchar in) { ++(*h)[in]; }
151 static void hsgCombine(Histogram *accum, const Histogram *addend) {
159 static void modeOutConvert(int2 *result, const Histogram *h) {
Dreduce.rscript228 typedef uint32_t Histogram[BUCKETS];
230 static void hsgAccum(Histogram *h, uchar in) { ++(*h)[in]; }
232 static void hsgCombine(Histogram *accum, const Histogram *addend) {
241 static void modeOutConvert(int2 *result, const Histogram *h) {
/frameworks/av/media/libnblog/
DPerformanceAnalysis.cpp53 void Histogram::add(double value) in add()
67 void Histogram::clear() in clear()
73 uint64_t Histogram::totalCount() const in totalCount()
78 std::string Histogram::toString() const { in toString()
97 std::string Histogram::asciiArtString(size_t indent) const { in asciiArtString()
DReportPerformance.cpp173 const Histogram &workHist = data.workHist; in sendToMediaMetrics()
178 const Histogram &latencyHist = data.latencyHist; in sendToMediaMetrics()
183 const Histogram &warmupHist = data.warmupHist; in sendToMediaMetrics()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DHistogram.java24 public class Histogram extends TestBase { class
31 public Histogram(boolean useIntrisic) { in Histogram() method in Histogram
DIPTestListJB.java198 return new Histogram(false); in newTest()
200 return new Histogram(true); in newTest()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java70 import com.android.modules.expresslog.Histogram;
113 private static final Histogram sEnqueuedJwiAtJobStart = new Histogram(
115 new Histogram.ScaledRangeOptions(20, 1, 3, 1.4f));
116 private static final Histogram sTransferredNetworkDownloadKBHighWaterMarkLogger = new Histogram(
118 new Histogram.ScaledRangeOptions(50, 0, 32 /* 32 KB */, 1.31f));
119 private static final Histogram sTransferredNetworkUploadKBHighWaterMarkLogger = new Histogram(
121 new Histogram.ScaledRangeOptions(50, 0, 32 /* 32 KB */, 1.31f));
122 private static final Histogram sUpdatedEstimatedNetworkDownloadKBLogger = new Histogram(
124 new Histogram.ScaledRangeOptions(50, 0, 32 /* 32 KB */, 1.31f));
125 private static final Histogram sUpdatedEstimatedNetworkUploadKBLogger = new Histogram(
[all …]
DJobSchedulerService.java111 import com.android.modules.expresslog.Histogram;
408 private static final Histogram sEnqueuedJwiHighWaterMarkLogger = new Histogram(
410 new Histogram.ScaledRangeOptions(25, 0, 5, 1.4f));
411 private static final Histogram sInitialJobEstimatedNetworkDownloadKBLogger = new Histogram(
413 new Histogram.ScaledRangeOptions(50, 0, 32 /* 32 KB */, 1.31f));
414 private static final Histogram sInitialJwiEstimatedNetworkDownloadKBLogger = new Histogram(
416 new Histogram.ScaledRangeOptions(50, 0, 32 /* 32 KB */, 1.31f));
417 private static final Histogram sInitialJobEstimatedNetworkUploadKBLogger = new Histogram(
419 new Histogram.ScaledRangeOptions(50, 0, 32 /* 32 KB */, 1.31f));
420 private static final Histogram sInitialJwiEstimatedNetworkUploadKBLogger = new Histogram(
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/expresslog/
DHistogram.java26 public final class Histogram { class
37 public Histogram(@NonNull String metricId, @NonNull BinOptions binOptions) { in Histogram() method in Histogram
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp41 void TimeStatsHelper::Histogram::insert(int32_t delta) { in insert()
52 int64_t TimeStatsHelper::Histogram::totalTime() const { in totalTime()
60 float TimeStatsHelper::Histogram::averageTime() const { in averageTime()
70 std::string TimeStatsHelper::Histogram::toString() const { in toString()
/frameworks/av/media/libaaudio/tests/
Dtest_histogram.cpp33 Histogram histogram(kNumBins, kBinWidth); in TEST()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DHistogram.java24 public class Histogram extends TestBase { class
/frameworks/av/media/libaaudio/src/client/
DIsochronousClockModel.h185 std::unique_ptr<android::audio_utils::Histogram> mHistogramMicros;
/frameworks/rs/toolkit/
DAndroid.bp31 "Histogram.cpp",

12