Home
last modified time | relevance | path

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

/aosp_15_r20/packages/modules/StatsD/statsd/src/
Dstats_util.h64 inline bool shouldKeepRandomSample(int samplingPercentage) { in shouldKeepRandomSample() function
/aosp_15_r20/packages/modules/StatsD/statsd/src/metrics/
DGaugeMetricProducer.cpp418 if (!triggerPuller || !shouldKeepRandomSample(mPullProbability)) { in pullAndMatchEventsLocked()
569 !shouldKeepRandomSample(mSamplingPercentage)) { in onMatchedLogEventInternalLocked()
DGaugeMetricProducer.h86 shouldKeepRandomSample(mPullProbability); in isPullNeeded()
DEventMetricProducer.cpp231 if (mSamplingPercentage < 100 && !shouldKeepRandomSample(mSamplingPercentage)) { in onMatchedLogEventInternalLocked()