Home
last modified time | relevance | path

Searched refs:bucketEndTimeNs (Results 1 – 9 of 9) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/
DValueMetricProducer.cpp387 (long long)(NanoToMillis(skippedBucket.bucketEndTimeNs))); in onDumpReportLocked()
808 int64_t bucketEndTimeNs = fullBucketEndTimeNs; in closeCurrentBucket() local
819 bucketEndTimeNs = nextBucketStartTimeNs; in closeCurrentBucket()
821 bucketEndTimeNs = eventTimeNs; in closeCurrentBucket()
826 mConditionTimer.newBucketStart(eventTimeNs, bucketEndTimeNs); in closeCurrentBucket()
828 bool isBucketLargeEnough = bucketEndTimeNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs; in closeCurrentBucket()
837 buildPartialBucket(bucketEndTimeNs, currentBucket.intervals); in closeCurrentBucket()
844 currentBucket.conditionTimer.newBucketStart(eventTimeNs, bucketEndTimeNs); in closeCurrentBucket()
865 mCurrentSkippedBucket.bucketEndTimeNs = bucketEndTimeNs; in closeCurrentBucket()
874 if (bucketEndTimeNs < nextBucketStartTimeNs) { in closeCurrentBucket()
[all …]
DNumericValueMetricProducer.cpp212 int64_t bucketEndTimeNs = calcPreviousBucketEndTime(originalPullTimeNs) - 1; in onDataPulled() local
214 mMetricId, originalPullTimeNs - bucketEndTimeNs); in onDataPulled()
215 accumulateEvents(allData, originalPullTimeNs, bucketEndTimeNs); in onDataPulled()
523 PastBucket<Value> NumericValueMetricProducer::buildPartialBucket(int64_t bucketEndTimeNs, in buildPartialBucket() argument
527 bucket.mBucketEndNs = bucketEndTimeNs; in buildPartialBucket()
DKllMetricProducer.cpp141 int64_t bucketEndTimeNs, vector<Interval>& intervals) { in buildPartialBucket() argument
144 bucket.mBucketEndNs = bucketEndTimeNs; in buildPartialBucket()
DMetricProducer.h103 int64_t bucketEndTimeNs; member
109 bucketEndTimeNs = 0; in reset()
DGaugeMetricProducer.cpp299 (long long)(NanoToMillis(skippedBucket.bucketEndTimeNs))); in onDumpReportLocked()
690 mCurrentSkippedBucket.bucketEndTimeNs = bucketEndTime; in flushCurrentBucketLocked()
/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp63 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
100 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
136 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
176 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
218 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
260 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
317 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
405 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
483 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
504 tracker.flushIfNeeded(bucketEndTimeNs + 1, emptyThreshold, &buckets); in TEST()
DOringDurationTracker_test.cpp645 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
671 tracker.flushIfNeeded(bucketEndTimeNs + 1, emptyThreshold, &buckets); in TEST()
690 int64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
DNumericValueMetricProducer_test.cpp1154 EXPECT_EQ(bucket2StartTimeNs, valueProducer->mSkippedBuckets[0].bucketEndTimeNs); in TEST()
1160 EXPECT_EQ(bucket6StartTimeNs, valueProducer->mSkippedBuckets[1].bucketEndTimeNs); in TEST()
2721 EXPECT_EQ(bucket3StartTimeNs, valueProducer->mSkippedBuckets[0].bucketEndTimeNs); in TEST_P()
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp741 uint64_t bucketEndTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST_F() local
824 ValidateDurationBucket(data.bucket_info(0), updateTimeNs, bucketEndTimeNs, 21 * NS_PER_SEC, in TEST_F()
836 ValidateDurationBucket(data.bucket_info(0), updateTimeNs, bucketEndTimeNs, in TEST_F()
837 bucketEndTimeNs - updateTimeNs); in TEST_F()
838 ValidateDurationBucket(data.bucket_info(1), bucketEndTimeNs, dumpTimeNs, in TEST_F()
839 dumpTimeNs - bucketEndTimeNs); in TEST_F()
853 ValidateDurationBucket(data.bucket_info(0), bucketEndTimeNs, dumpTimeNs, 48 * NS_PER_SEC); in TEST_F()
859 ValidateDurationBucket(data.bucket_info(0), updateTimeNs, bucketEndTimeNs, 25 * NS_PER_SEC); in TEST_F()
875 ValidateDurationBucket(data.bucket_info(0), updateTimeNs, bucketEndTimeNs, 15 * NS_PER_SEC); in TEST_F()
883 ValidateDurationBucket(data.bucket_info(0), updateTimeNs, bucketEndTimeNs, in TEST_F()
[all …]