Home
last modified time | relevance | path

Searched refs:fullBucketEnd (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp147 int64_t fullBucketEnd = getCurrentBucketEndTimeNs(); in flushCurrentBucket() local
150 if (eventTimeNs >= fullBucketEnd) { in flushCurrentBucket()
151 numBucketsForward = 1 + (eventTimeNs - fullBucketEnd) / mBucketSizeNs; in flushCurrentBucket()
152 currentBucketEndTimeNs = fullBucketEnd; in flushCurrentBucket()
171 if (eventTimeNs > fullBucketEnd) { in flushCurrentBucket()
180 info.mBucketStartNs = fullBucketEnd + mBucketSizeNs * (i - 1); in flushCurrentBucket()
198 mCurrentBucketStartTimeNs = fullBucketEnd + (numBucketsForward - 1) * mBucketSizeNs; in flushCurrentBucket()
DMaxDurationTracker.cpp195 int64_t fullBucketEnd = getCurrentBucketEndTimeNs(); in flushCurrentBucket() local
197 if (eventTimeNs >= fullBucketEnd) { in flushCurrentBucket()
198 numBucketsForward = 1 + (eventTimeNs - fullBucketEnd) / mBucketSizeNs; in flushCurrentBucket()
199 currentBucketEndTimeNs = fullBucketEnd; in flushCurrentBucket()
229 mCurrentBucketStartTimeNs = fullBucketEnd + (numBucketsForward - 1) * mBucketSizeNs; in flushCurrentBucket()