Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DDurationTracker.h115 int64_t timestampNs, const optional<UploadThreshold>& uploadThreshold,
121 const int64_t& eventTimeNs, const optional<UploadThreshold>& uploadThreshold,
212 bool durationPassesThreshold(const optional<UploadThreshold>& uploadThreshold, in durationPassesThreshold() argument
218 if (uploadThreshold == nullopt) { in durationPassesThreshold()
222 switch (uploadThreshold->value_comparison_case()) { in durationPassesThreshold()
224 return duration < uploadThreshold->lt_int(); in durationPassesThreshold()
226 return duration > uploadThreshold->gt_int(); in durationPassesThreshold()
228 return duration <= uploadThreshold->lte_int(); in durationPassesThreshold()
230 return duration >= uploadThreshold->gte_int(); in durationPassesThreshold()
DMaxDurationTracker.cpp165 const int64_t& eventTimeNs, const optional<UploadThreshold>& uploadThreshold, in flushCurrentBucket() argument
195 if (durationPassesThreshold(uploadThreshold, mDuration)) { in flushCurrentBucket()
219 int64_t eventTimeNs, const optional<UploadThreshold>& uploadThreshold, in flushIfNeeded() argument
224 return flushCurrentBucket(eventTimeNs, uploadThreshold, output); in flushIfNeeded()
DOringDurationTracker.cpp135 const int64_t& eventTimeNs, const optional<UploadThreshold>& uploadThreshold, in flushCurrentBucket() argument
167 if (durationPassesThreshold(uploadThreshold, durationIt.second.mDuration)) { in flushCurrentBucket()
227 int64_t eventTimeNs, const optional<UploadThreshold>& uploadThreshold, in flushIfNeeded() argument
232 return flushCurrentBucket(eventTimeNs, uploadThreshold, output); in flushIfNeeded()
DOringDurationTracker.h51 const int64_t& eventTimeNs, const optional<UploadThreshold>& uploadThreshold,
54 int64_t timestampNs, const optional<UploadThreshold>& uploadThreshold,
DMaxDurationTracker.h46 int64_t timestampNs, const optional<UploadThreshold>& uploadThreshold,
49 const int64_t& eventTimeNs, const optional<UploadThreshold>& uploadThreshold,