Searched refs:mBucketEndNs (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 73 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST() 76 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[1].mBucketEndNs); in TEST() 124 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets2[0].mBucketEndNs); in TEST() 168 EXPECT_EQ(eventUpgradeTimeNs, buckets[0].mBucketEndNs); in TEST() 179 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketEndNs); in TEST() 182 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[2].mBucketEndNs); in TEST() 223 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST() 226 EXPECT_EQ(eventUpgradeTimeNs, buckets[1].mBucketEndNs); in TEST() 237 EXPECT_EQ(bucketStartTimeNs + 2 * bucketSizeNs, buckets[2].mBucketEndNs); in TEST() 327 EXPECT_EQ(bucketStartTimeNs + 3 * bucketSizeNs, buckets[0].mBucketEndNs); in TEST() [all …]
|
D | CountMetricProducer_test.cpp | 78 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[0].mBucketEndNs); in TEST() 93 EXPECT_EQ(bucket2StartTimeNs + bucketSizeNs, bucketInfo2.mBucketEndNs); in TEST() 143 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, bucketInfo.mBucketEndNs); in TEST() 200 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, bucketInfo.mBucketEndNs); in TEST() 242 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST() 297 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketEndNs); in TEST() 316 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 | ValueMetricProducer.cpp | 249 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 253 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked() 256 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked() 262 (long long)bucket.mBucketEndNs, (long long)bucket.mValue); in onDumpReportLocked() 464 info.mBucketEndNs = eventTimeNs; in flushCurrentBucketLocked() 466 info.mBucketEndNs = fullBucketEndTimeNs; in flushCurrentBucketLocked() 469 if (info.mBucketEndNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs) { in flushCurrentBucketLocked() 484 mSkippedBuckets.emplace_back(info.mBucketStartNs, info.mBucketEndNs); in flushCurrentBucketLocked()
|
D | CountMetricProducer.cpp | 211 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 215 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked() 218 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked() 223 (long long)bucket.mBucketEndNs, (long long)bucket.mCount); in onDumpReportLocked() 324 info.mBucketEndNs = eventTimeNs; in flushCurrentBucketLocked() 326 info.mBucketEndNs = fullBucketEndTimeNs; in flushCurrentBucketLocked()
|
D | GaugeMetricProducer.cpp | 263 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 267 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked() 270 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked() 303 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked() 512 info.mBucketEndNs = eventTimeNs; in flushCurrentBucketLocked() 514 info.mBucketEndNs = fullBucketEndTimeNs; in flushCurrentBucketLocked() 517 if (info.mBucketEndNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs) { in flushCurrentBucketLocked() 526 mSkippedBuckets.emplace_back(info.mBucketStartNs, info.mBucketEndNs); in flushCurrentBucketLocked()
|
D | CountMetricProducer.h | 37 int64_t mBucketEndNs; member
|
D | DurationMetricProducer.cpp | 527 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 531 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked() 534 (long long)(getBucketNumFromEndTimeNs(bucket.mBucketEndNs))); in onDumpReportLocked() 539 (long long)bucket.mBucketEndNs, (long long)bucket.mDuration); in onDumpReportLocked()
|
D | GaugeMetricProducer.h | 46 int64_t mBucketEndNs; member
|
D | ValueMetricProducer.h | 35 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 | 56 int64_t mBucketEndNs; member
|
D | MaxDurationTracker.cpp | 222 info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()
|