Home
last modified time | relevance | path

Searched refs:mBucketStartNs (Results 1 – 15 of 15) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/
DDurationMetricProducer_test.cpp116 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
119 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST()
170 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST()
218 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST()
268 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST_P()
281 EXPECT_EQ(partialBucketSplitTimeNs, buckets[1].mBucketStartNs); in TEST_P()
284 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[2].mBucketStartNs); in TEST_P()
331 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST_P()
334 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST_P()
347 EXPECT_EQ(partialBucketSplitTimeNs, buckets[2].mBucketStartNs); in TEST_P()
[all …]
DCountMetricProducer_test.cpp121 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
137 EXPECT_EQ(bucket2StartTimeNs, bucketInfo2.mBucketStartNs); in TEST()
188 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
245 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
294 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
358 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
375 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][1].mBucketStartNs); in TEST_P()
DMaxDurationTracker_test.cpp117 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
156 EXPECT_EQ(bucketStartTimeNs + 3 * bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
DGaugeMetricProducer_test.cpp244 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
259 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
337 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
DValueMetricProducer_test.cpp89 EXPECT_EQ(expectedStartTimeNs[i], buckets[i].mBucketStartNs) in assertPastBucketValuesSingleKey()
1941 EXPECT_EQ(bucket4StartTimeNs, iterator->second[0].mBucketStartNs); in TEST()
1946 EXPECT_EQ(bucketStartTimeNs, iterator->second[0].mBucketStartNs); in TEST()
/packages/modules/StatsD/statsd/src/metrics/
DCountMetricProducer.cpp268 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
270 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
279 VLOG("\t bucket [%lld - %lld] count: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
405 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
DGaugeMetricProducer.cpp316 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
318 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
342 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked()
621 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
DValueMetricProducer.cpp387 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
389 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
414 VLOG("\t bucket [%lld - %lld] value %d: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
419 VLOG("\t bucket [%lld - %lld] value %d: %.2f", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
1149 bucket.mBucketStartNs = mCurrentBucketStartTimeNs; in buildPartialBucket()
DDurationMetricProducer.cpp551 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
553 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
562 VLOG("\t bucket [%lld - %lld] duration: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
DCountMetricProducer.h37 int64_t mBucketStartNs; member
DGaugeMetricProducer.h45 int64_t mBucketStartNs; member
DValueMetricProducer.h35 int64_t mBucketStartNs; member
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp169 current_info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
194 info.mBucketStartNs = fullBucketEnd + mBucketSizeNs * (i - 1); in flushCurrentBucket()
195 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
DDurationTracker.h55 int64_t mBucketStartNs; member
DMaxDurationTracker.cpp197 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()