Searched refs:mBucketEndNs (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 89 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST() 92 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[1].mBucketEndNs); in TEST() 140 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets2[0].mBucketEndNs); in TEST() 185 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets2[0].mBucketEndNs); in TEST() 228 EXPECT_EQ(eventUpgradeTimeNs, buckets[0].mBucketEndNs); in TEST() 239 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketEndNs); in TEST() 242 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[2].mBucketEndNs); in TEST() 282 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST() 285 EXPECT_EQ(eventUpgradeTimeNs, buckets[1].mBucketEndNs); in TEST() 296 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[2].mBucketEndNs); in TEST() [all …]
|
D | CountMetricProducer_test.cpp | 90 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST() 105 EXPECT_EQ(bucket2StartTimeNs + bucketSizeNs, bucketInfo2.mBucketEndNs); in TEST() 154 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, bucketInfo.mBucketEndNs); in TEST() 210 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, bucketInfo.mBucketEndNs); in TEST() 251 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST() 305 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST() 324 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][1].mBucketEndNs); in TEST()
|
D | MaxDurationTracker_test.cpp | 120 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[eventKey][0].mBucketEndNs); in TEST() 161 EXPECT_EQ(bucketStartTimeNs + 4 * bucketSizeNs, buckets[eventKey][0].mBucketEndNs); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | CountMetricProducer.cpp | 220 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 224 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked() 227 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked() 232 (long long)bucket.mBucketEndNs, (long long)bucket.mCount); in onDumpReportLocked() 338 info.mBucketEndNs = eventTimeNs; in flushCurrentBucketLocked() 340 info.mBucketEndNs = fullBucketEndTimeNs; in flushCurrentBucketLocked()
|
D | GaugeMetricProducer.cpp | 266 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 270 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked() 273 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked() 294 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked() 565 info.mBucketEndNs = eventTimeNs; in flushCurrentBucketLocked() 567 info.mBucketEndNs = fullBucketEndTimeNs; in flushCurrentBucketLocked() 570 if (info.mBucketEndNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs) { in flushCurrentBucketLocked() 579 mSkippedBuckets.emplace_back(info.mBucketStartNs, info.mBucketEndNs); in flushCurrentBucketLocked()
|
D | ValueMetricProducer.cpp | 295 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 299 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked() 302 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked() 320 (long long)bucket.mBucketEndNs, index, (long long)value.long_value); in onDumpReportLocked() 325 (long long)bucket.mBucketEndNs, index, value.double_value); in onDumpReportLocked() 891 bucket.mBucketEndNs = bucketEndTime; in buildPartialBucket()
|
D | CountMetricProducer.h | 37 int64_t mBucketEndNs; member
|
D | DurationMetricProducer.cpp | 575 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 579 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked() 582 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked() 587 (long long)bucket.mBucketEndNs, (long long)bucket.mDuration); in onDumpReportLocked()
|
D | GaugeMetricProducer.h | 46 int64_t mBucketEndNs; member
|
D | ValueMetricProducer.h | 36 int64_t mBucketEndNs; member
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 165 current_info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket() 181 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
|
D | DurationTracker.h | 55 int64_t mBucketEndNs; member
|
D | MaxDurationTracker.cpp | 222 info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()
|