Searched refs:mBucketStartNs (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 88 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 …]
|
D | CountMetricProducer_test.cpp | 89 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()
|
D | MaxDurationTracker_test.cpp | 119 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST() 160 EXPECT_EQ(bucketStartTimeNs + 3 * bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
|
D | ValueMetricProducer_test.cpp | 836 valueProducer->mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | CountMetricProducer.cpp | 220 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()
|
D | GaugeMetricProducer.cpp | 266 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()
|
D | CountMetricProducer.h | 36 int64_t mBucketStartNs; member
|
D | ValueMetricProducer.cpp | 295 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()
|
D | GaugeMetricProducer.h | 45 int64_t mBucketStartNs; member
|
D | DurationMetricProducer.cpp | 575 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()
|
D | ValueMetricProducer.h | 35 int64_t mBucketStartNs; member
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 164 current_info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket() 180 info.mBucketStartNs = fullBucketEnd + mBucketSizeNs * (i - 1); in flushCurrentBucket() 181 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
|
D | DurationTracker.h | 54 int64_t mBucketStartNs; member
|
D | MaxDurationTracker.cpp | 221 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
|