Searched refs:mBucketStartNs (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 72 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 …]
|
D | CountMetricProducer_test.cpp | 77 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()
|
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 | 504 …_EQ(bucketStartTimeNs, valueProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | CountMetricProducer.cpp | 211 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()
|
D | ValueMetricProducer.cpp | 249 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()
|
D | GaugeMetricProducer.cpp | 263 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()
|
D | CountMetricProducer.h | 36 int64_t mBucketStartNs; member
|
D | GaugeMetricProducer.h | 45 int64_t mBucketStartNs; member
|
D | ValueMetricProducer.h | 34 int64_t mBucketStartNs; member
|
D | DurationMetricProducer.cpp | 527 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/ |
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 | 55 int64_t mBucketStartNs; member
|
D | MaxDurationTracker.cpp | 221 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
|