Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp115 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
118 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST()
168 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST()
215 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST()
265 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST_P()
278 EXPECT_EQ(partialBucketSplitTimeNs, buckets[1].mBucketStartNs); in TEST_P()
281 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[2].mBucketStartNs); in TEST_P()
328 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST_P()
331 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST_P()
344 EXPECT_EQ(partialBucketSplitTimeNs, buckets[2].mBucketStartNs); in TEST_P()
[all …]
DCountMetricProducer_test.cpp120 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
136 EXPECT_EQ(bucket2StartTimeNs, bucketInfo2.mBucketStartNs); in TEST()
187 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
244 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
292 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
356 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
373 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][1].mBucketStartNs); in TEST_P()
DMaxDurationTracker_test.cpp115 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
154 EXPECT_EQ(bucketStartTimeNs + 3 * bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
DGaugeMetricProducer_test.cpp252 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
267 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
347 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
DValueMetricProducer_test.cpp89 EXPECT_EQ(expectedStartTimeNs[i], buckets[i].mBucketStartNs) in assertPastBucketValuesSingleKey()
1948 EXPECT_EQ(bucket4StartTimeNs, iterator->second[0].mBucketStartNs); in TEST()
1953 EXPECT_EQ(bucketStartTimeNs, iterator->second[0].mBucketStartNs); in TEST()
/frameworks/base/cmds/statsd/src/metrics/
DCountMetricProducer.cpp221 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
223 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
232 VLOG("\t bucket [%lld - %lld] count: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
338 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
DGaugeMetricProducer.cpp255 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
257 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
281 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked()
560 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
DCountMetricProducer.h37 int64_t mBucketStartNs; member
DValueMetricProducer.cpp339 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
341 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
363 VLOG("\t bucket [%lld - %lld] value %d: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
368 VLOG("\t bucket [%lld - %lld] value %d: %.2f", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
1032 bucket.mBucketStartNs = mCurrentBucketStartTimeNs; in buildPartialBucket()
DDurationMetricProducer.cpp415 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
417 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
426 VLOG("\t bucket [%lld - %lld] duration: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
DGaugeMetricProducer.h45 int64_t mBucketStartNs; member
DValueMetricProducer.h35 int64_t mBucketStartNs; member
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp168 current_info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
191 info.mBucketStartNs = fullBucketEnd + mBucketSizeNs * (i - 1); in flushCurrentBucket()
192 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
DDurationTracker.h54 int64_t mBucketStartNs; member
DMaxDurationTracker.cpp197 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()