Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp27 MaxDurationTracker::MaxDurationTracker(const ConfigKey& key, const int64_t id, in MaxDurationTracker() function in android::os::statsd::MaxDurationTracker
40 bool MaxDurationTracker::hitGuardRail(const HashableDimensionKey& newKey, in hitGuardRail()
65 void MaxDurationTracker::noteStart(const HashableDimensionKey& key, bool condition, in noteStart()
100 void MaxDurationTracker::noteStop(const HashableDimensionKey& key, const int64_t eventTime, in noteStop()
153 bool MaxDurationTracker::hasStartedDuration() const { in hasStartedDuration()
162 bool MaxDurationTracker::hasAccumulatedDuration() const { in hasAccumulatedDuration()
168 void MaxDurationTracker::noteStopAll(const int64_t eventTime) { in noteStopAll()
178 bool MaxDurationTracker::flushCurrentBucket( in flushCurrentBucket()
236 bool MaxDurationTracker::flushIfNeeded( in flushIfNeeded()
245 void MaxDurationTracker::onSlicedConditionMayChange(const int64_t timestamp) { in onSlicedConditionMayChange()
[all …]
DMaxDurationTracker.h29 class MaxDurationTracker : public DurationTracker {
31 MaxDurationTracker(const ConfigKey& key, const int64_t id, const MetricDimensionKey& eventKey,
37 MaxDurationTracker(const MaxDurationTracker& tracker) = default;
/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp67 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, false, bucketStartTimeNs, in TEST()
104 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, false, bucketStartTimeNs, in TEST()
140 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, false, bucketStartTimeNs, in TEST()
180 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, true, bucketStartTimeNs, in TEST()
227 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, false, bucketStartTimeNs, in TEST()
276 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, /*nesting*/ true, in TEST()
331 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, false, bucketStartTimeNs, in TEST()
391 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, false, bucketStartTimeNs, in TEST()
477 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, false, bucketStartTimeNs, in TEST()
507 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, false, bucketStartTimeNs, in TEST()
[all …]
/packages/modules/StatsD/statsd/
DAndroid.bp94 "src/metrics/duration_helper/MaxDurationTracker.cpp",
/packages/modules/StatsD/statsd/src/metrics/
DDurationMetricProducer.cpp359 return make_unique<MaxDurationTracker>( in createDurationTracker()