Home
last modified time | relevance | path

Searched refs:mBucketEndNs (Results 1 – 18 of 18) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/
DDurationMetricProducer_test.cpp119 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST()
122 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[1].mBucketEndNs); in TEST()
180 EXPECT_EQ(bucket2EndTimeNs, buckets2[0].mBucketEndNs); in TEST()
230 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets2[0].mBucketEndNs); in TEST()
282 EXPECT_EQ(partialBucketSplitTimeNs, buckets[0].mBucketEndNs); in TEST_P()
295 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketEndNs); in TEST_P()
298 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[2].mBucketEndNs); in TEST_P()
347 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST_P()
350 EXPECT_EQ(partialBucketSplitTimeNs, buckets[1].mBucketEndNs); in TEST_P()
363 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[2].mBucketEndNs); in TEST_P()
[all …]
DCountMetricProducer_test.cpp125 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST()
141 EXPECT_EQ(bucket2StartTimeNs + bucketSizeNs, bucketInfo2.mBucketEndNs); in TEST()
196 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, bucketInfo.mBucketEndNs); in TEST()
254 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, bucketInfo.mBucketEndNs); in TEST()
305 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST_P()
370 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST_P()
387 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][1].mBucketEndNs); in TEST_P()
449 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST()
DMaxDurationTracker_test.cpp123 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[eventKey][0].mBucketEndNs); in TEST()
163 EXPECT_EQ(bucketStartTimeNs + 4 * bucketSizeNs, buckets[eventKey][0].mBucketEndNs); in TEST()
DGaugeMetricProducer_test.cpp264 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST_P()
279 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST_P()
360 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST_P()
DKllMetricProducer_test.cpp95 EXPECT_EQ(expectedEndTimeNs[i], buckets[i].mBucketEndNs) in assertPastBucketsSingleKey()
DNumericValueMetricProducer_test.cpp97 EXPECT_EQ(expectedEndTimeNs[i], buckets[i].mBucketEndNs) in assertPastBucketValuesSingleKey()
1930 EXPECT_EQ(bucket5StartTimeNs, iterator->second[0].mBucketEndNs); in TEST()
1934 EXPECT_EQ(bucket6StartTimeNs, iterator->second[1].mBucketEndNs); in TEST()
1943 EXPECT_EQ(bucket2StartTimeNs, iterator->second[0].mBucketEndNs); in TEST()
1947 EXPECT_EQ(bucket6StartTimeNs, iterator->second[1].mBucketEndNs); in TEST()
/packages/modules/StatsD/statsd/src/metrics/
DCountMetricProducer.cpp291 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
295 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
298 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked()
312 (long long)bucket.mBucketEndNs, (long long)bucket.mCount); in onDumpReportLocked()
452 info.mBucketEndNs = eventTimeNs; in flushCurrentBucketLocked()
454 info.mBucketEndNs = fullBucketEndTimeNs; in flushCurrentBucketLocked()
DGaugeMetricProducer.cpp334 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
338 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
341 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked()
366 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked()
666 info.mBucketEndNs = bucketEndTime; in flushCurrentBucketLocked()
670 bool isBucketLargeEnough = info.mBucketEndNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs; in flushCurrentBucketLocked()
DDurationMetricProducer.cpp579 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
583 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
586 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked()
600 (long long)bucket.mBucketEndNs, (long long)bucket.mDuration); in onDumpReportLocked()
878 bool isFullBucket = bucket.mBucketEndNs - bucket.mBucketStartNs >= mBucketSizeNs; in byteSizeLocked()
DValueMetricProducer.cpp428 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
432 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
435 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked()
462 (long long)bucket.mBucketEndNs); in onDumpReportLocked()
DCountMetricProducer.h39 int64_t mBucketEndNs; member
DKllMetricProducer.cpp144 bucket.mBucketEndNs = bucketEndTimeNs; in buildPartialBucket()
DGaugeMetricProducer.h46 int64_t mBucketEndNs; member
DValueMetricProducer.h42 int64_t mBucketEndNs; member
DNumericValueMetricProducer.cpp527 bucket.mBucketEndNs = bucketEndTimeNs; in buildPartialBucket()
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DDurationTracker.h56 int64_t mBucketEndNs; member
60 DurationBucket() : mBucketStartNs(0), mBucketEndNs(0), mDuration(0), mConditionTrueNs(0){}; in DurationBucket()
DOringDurationTracker.cpp181 current_info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()
209 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
DMaxDurationTracker.cpp212 info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()