Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp498 int64_t bucketEndTime = calcPreviousBucketEndTime(originalPullTimeNs) - 1; in onDataPulled() local
500 mMetricId, originalPullTimeNs - bucketEndTime); in onDataPulled()
501 accumulateEvents(allData, originalPullTimeNs, bucketEndTime, mCondition); in onDataPulled()
861 int64_t bucketEndTime = eventTimeNs < fullBucketEndTimeNs ? eventTimeNs : fullBucketEndTimeNs; in flushCurrentBucketLocked() local
863 int64_t conditionTrueDuration = mConditionTimer.newBucketStart(bucketEndTime); in flushCurrentBucketLocked()
864 bool isBucketLargeEnough = bucketEndTime - mCurrentBucketStartTimeNs >= mMinBucketSizeNs; in flushCurrentBucketLocked()
868 ValueBucket bucket = buildPartialBucket(bucketEndTime, slice.second); in flushCurrentBucketLocked()
877 mSkippedBuckets.emplace_back(mCurrentBucketStartTimeNs, bucketEndTime); in flushCurrentBucketLocked()
887 ValueBucket ValueMetricProducer::buildPartialBucket(int64_t bucketEndTime, in buildPartialBucket() argument
891 bucket.mBucketEndNs = bucketEndTime; in buildPartialBucket()
DValueMetricProducer.h192 ValueBucket buildPartialBucket(int64_t bucketEndTime,