Home
last modified time | relevance | path

Searched refs:mBucketEndNs (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp73 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 …]
DCountMetricProducer_test.cpp78 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()
DMaxDurationTracker_test.cpp120 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/
DValueMetricProducer.cpp249 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()
DCountMetricProducer.cpp211 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()
DGaugeMetricProducer.cpp263 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()
DCountMetricProducer.h37 int64_t mBucketEndNs; member
DDurationMetricProducer.cpp527 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()
DGaugeMetricProducer.h46 int64_t mBucketEndNs; member
DValueMetricProducer.h35 int64_t mBucketEndNs; member
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp165 current_info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()
181 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
DDurationTracker.h56 int64_t mBucketEndNs; member
DMaxDurationTracker.cpp222 info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()