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.cpp88 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
91 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST()
139 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST()
184 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST()
227 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
238 EXPECT_EQ(eventUpgradeTimeNs, buckets[1].mBucketStartNs); in TEST()
241 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[2].mBucketStartNs); in TEST()
281 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
284 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST()
295 EXPECT_EQ(eventUpgradeTimeNs, buckets[2].mBucketStartNs); in TEST()
[all …]
DCountMetricProducer_test.cpp89 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST()
104 EXPECT_EQ(bucket2StartTimeNs, bucketInfo2.mBucketStartNs); in TEST()
153 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
209 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
249 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST()
303 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST()
322 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.cpp836 valueProducer->mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST()
/frameworks/base/cmds/statsd/src/metrics/
DCountMetricProducer.cpp220 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
222 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
231 VLOG("\t bucket [%lld - %lld] count: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
336 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
DGaugeMetricProducer.cpp266 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
268 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
294 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked()
563 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
579 mSkippedBuckets.emplace_back(info.mBucketStartNs, info.mBucketEndNs); in flushCurrentBucketLocked()
DCountMetricProducer.h36 int64_t mBucketStartNs; member
DValueMetricProducer.cpp295 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
297 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
319 VLOG("\t bucket [%lld - %lld] value %d: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
324 VLOG("\t bucket [%lld - %lld] value %d: %.2f", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
890 bucket.mBucketStartNs = mCurrentBucketStartTimeNs; in buildPartialBucket()
DGaugeMetricProducer.h45 int64_t mBucketStartNs; member
DDurationMetricProducer.cpp575 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked()
577 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
586 VLOG("\t bucket [%lld - %lld] duration: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
DValueMetricProducer.h35 int64_t mBucketStartNs; member
/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.h54 int64_t mBucketStartNs; member
DMaxDurationTracker.cpp221 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()