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.cpp89 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 …]
DCountMetricProducer_test.cpp90 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()
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/
DCountMetricProducer.cpp220 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()
DGaugeMetricProducer.cpp266 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()
DValueMetricProducer.cpp295 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()
DCountMetricProducer.h37 int64_t mBucketEndNs; member
DDurationMetricProducer.cpp575 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()
DGaugeMetricProducer.h46 int64_t mBucketEndNs; member
DValueMetricProducer.h36 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.h55 int64_t mBucketEndNs; member
DMaxDurationTracker.cpp222 info.mBucketEndNs = currentBucketEndTimeNs; in flushCurrentBucket()