Home
last modified time | relevance | path

Searched refs:currentBucketEndTimeNs (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp148 int64_t currentBucketEndTimeNs; in flushCurrentBucket() local
152 currentBucketEndTimeNs = fullBucketEnd; in flushCurrentBucket()
155 currentBucketEndTimeNs = eventTimeNs; in flushCurrentBucket()
160 mDuration += (currentBucketEndTimeNs - mLastStartTime); in flushCurrentBucket()
165 current_info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()
DMaxDurationTracker.cpp196 int64_t currentBucketEndTimeNs; in flushCurrentBucket() local
199 currentBucketEndTimeNs = fullBucketEnd; in flushCurrentBucket()
202 currentBucketEndTimeNs = eventTimeNs; in flushCurrentBucket()
222 info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()
/frameworks/base/cmds/statsd/src/metrics/
DCountMetricProducer.cpp317 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked() local
318 if (eventTimeNs < currentBucketEndTimeNs) { in flushIfNeededLocked()
323 int64_t numBucketsForward = 1 + (eventTimeNs - currentBucketEndTimeNs) / mBucketSizeNs; in flushIfNeededLocked()
324 int64_t nextBucketNs = currentBucketEndTimeNs + (numBucketsForward - 1) * mBucketSizeNs; in flushIfNeededLocked()
DValueMetricProducer.cpp824 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked() local
825 if (eventTimeNs < currentBucketEndTimeNs) { in flushIfNeededLocked()
827 (long long)(currentBucketEndTimeNs)); in flushIfNeededLocked()
831 … int64_t nextBucketStartTimeNs = currentBucketEndTimeNs + (numBucketsForward - 1) * mBucketSizeNs; in flushIfNeededLocked()
836 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in calcBucketsForwardCount() local
837 if (eventTimeNs < currentBucketEndTimeNs) { in calcBucketsForwardCount()
840 return 1 + (eventTimeNs - currentBucketEndTimeNs) / mBucketSizeNs; in calcBucketsForwardCount()
DGaugeMetricProducer.cpp540 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked() local
542 if (eventTimeNs < currentBucketEndTimeNs) { in flushIfNeededLocked()
549 int64_t numBucketsForward = 1 + (eventTimeNs - currentBucketEndTimeNs) / mBucketSizeNs; in flushIfNeededLocked()
550 int64_t nextBucketNs = currentBucketEndTimeNs + (numBucketsForward - 1) * mBucketSizeNs; in flushIfNeededLocked()
DDurationMetricProducer.cpp600 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked() local
602 if (currentBucketEndTimeNs > eventTimeNs) { in flushIfNeededLocked()
606 int numBucketsForward = 1 + (eventTimeNs - currentBucketEndTimeNs) / mBucketSizeNs; in flushIfNeededLocked()
607 int64_t nextBucketNs = currentBucketEndTimeNs + (numBucketsForward - 1) * mBucketSizeNs; in flushIfNeededLocked()