Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp72 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
75 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST()
123 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST()
167 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
178 EXPECT_EQ(eventUpgradeTimeNs, buckets[1].mBucketStartNs); in TEST()
181 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[2].mBucketStartNs); in TEST()
222 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
225 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST()
236 EXPECT_EQ(eventUpgradeTimeNs, buckets[2].mBucketStartNs); in TEST()
326 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[0].mBucketStartNs); in TEST()
[all …]
DCountMetricProducer_test.cpp77 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
92 EXPECT_EQ(bucket2StartTimeNs, bucketInfo2.mBucketStartNs); in TEST()
142 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
199 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
240 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST()
295 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST()
314 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][1].mBucketStartNs); in TEST()
DMaxDurationTracker_test.cpp119 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
160 EXPECT_EQ(bucketStartTimeNs + 3 * bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
DValueMetricProducer_test.cpp504 …_EQ(bucketStartTimeNs, valueProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST()
/frameworks/base/cmds/statsd/src/metrics/
DCountMetricProducer.cpp211 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
213 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
222 VLOG("\t bucket [%lld - %lld] count: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
322 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
DValueMetricProducer.cpp249 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
251 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
261 VLOG("\t bucket [%lld - %lld] count: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
462 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
484 mSkippedBuckets.emplace_back(info.mBucketStartNs, info.mBucketEndNs); in flushCurrentBucketLocked()
DGaugeMetricProducer.cpp263 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
265 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
303 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked()
510 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
526 mSkippedBuckets.emplace_back(info.mBucketStartNs, info.mBucketEndNs); in flushCurrentBucketLocked()
DCountMetricProducer.h36 int64_t mBucketStartNs; member
DGaugeMetricProducer.h45 int64_t mBucketStartNs; member
DValueMetricProducer.h34 int64_t mBucketStartNs; member
DDurationMetricProducer.cpp527 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
529 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
538 VLOG("\t bucket [%lld - %lld] duration: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp164 current_info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
180 info.mBucketStartNs = fullBucketEnd + mBucketSizeNs * (i - 1); in flushCurrentBucket()
181 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
DDurationTracker.h55 int64_t mBucketStartNs; member
DMaxDurationTracker.cpp221 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()