Searched refs:mBucketStartNs (Results 1 – 15 of 15) sorted by relevance
/packages/modules/StatsD/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 116 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST() 119 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST() 170 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST() 218 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST() 268 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST_P() 281 EXPECT_EQ(partialBucketSplitTimeNs, buckets[1].mBucketStartNs); in TEST_P() 284 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[2].mBucketStartNs); in TEST_P() 331 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST_P() 334 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST_P() 347 EXPECT_EQ(partialBucketSplitTimeNs, buckets[2].mBucketStartNs); in TEST_P() [all …]
|
D | CountMetricProducer_test.cpp | 121 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST() 137 EXPECT_EQ(bucket2StartTimeNs, bucketInfo2.mBucketStartNs); in TEST() 188 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST() 245 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST() 294 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P() 358 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P() 375 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][1].mBucketStartNs); in TEST_P()
|
D | MaxDurationTracker_test.cpp | 117 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST() 156 EXPECT_EQ(bucketStartTimeNs + 3 * bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
|
D | GaugeMetricProducer_test.cpp | 244 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P() 259 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P() 337 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P()
|
D | ValueMetricProducer_test.cpp | 89 EXPECT_EQ(expectedStartTimeNs[i], buckets[i].mBucketStartNs) in assertPastBucketValuesSingleKey() 1941 EXPECT_EQ(bucket4StartTimeNs, iterator->second[0].mBucketStartNs); in TEST() 1946 EXPECT_EQ(bucketStartTimeNs, iterator->second[0].mBucketStartNs); in TEST()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | CountMetricProducer.cpp | 268 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 270 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 279 VLOG("\t bucket [%lld - %lld] count: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked() 405 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
|
D | GaugeMetricProducer.cpp | 316 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 318 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 342 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked() 621 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
|
D | ValueMetricProducer.cpp | 387 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 389 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 414 VLOG("\t bucket [%lld - %lld] value %d: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked() 419 VLOG("\t bucket [%lld - %lld] value %d: %.2f", (long long)bucket.mBucketStartNs, in onDumpReportLocked() 1149 bucket.mBucketStartNs = mCurrentBucketStartTimeNs; in buildPartialBucket()
|
D | DurationMetricProducer.cpp | 551 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 553 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 562 VLOG("\t bucket [%lld - %lld] duration: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
|
D | CountMetricProducer.h | 37 int64_t mBucketStartNs; member
|
D | GaugeMetricProducer.h | 45 int64_t mBucketStartNs; member
|
D | ValueMetricProducer.h | 35 int64_t mBucketStartNs; member
|
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 169 current_info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket() 194 info.mBucketStartNs = fullBucketEnd + mBucketSizeNs * (i - 1); in flushCurrentBucket() 195 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
|
D | DurationTracker.h | 55 int64_t mBucketStartNs; member
|
D | MaxDurationTracker.cpp | 197 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
|