Searched refs:mBucketStartNs (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 115 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST() 118 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST() 168 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST() 215 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets2[0].mBucketStartNs); in TEST() 265 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST_P() 278 EXPECT_EQ(partialBucketSplitTimeNs, buckets[1].mBucketStartNs); in TEST_P() 281 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[2].mBucketStartNs); in TEST_P() 328 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST_P() 331 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[1].mBucketStartNs); in TEST_P() 344 EXPECT_EQ(partialBucketSplitTimeNs, buckets[2].mBucketStartNs); in TEST_P() [all …]
|
D | CountMetricProducer_test.cpp | 120 EXPECT_EQ(bucketStartTimeNs, buckets[0].mBucketStartNs); in TEST() 136 EXPECT_EQ(bucket2StartTimeNs, bucketInfo2.mBucketStartNs); in TEST() 187 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST() 244 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST() 292 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P() 356 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P() 373 countProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][1].mBucketStartNs); in TEST_P()
|
D | MaxDurationTracker_test.cpp | 115 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST() 154 EXPECT_EQ(bucketStartTimeNs + 3 * bucketSizeNs, buckets[eventKey][0].mBucketStartNs); in TEST()
|
D | GaugeMetricProducer_test.cpp | 252 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P() 267 gaugeProducer.mPastBuckets[DEFAULT_METRIC_DIMENSION_KEY][0].mBucketStartNs); in TEST_P() 347 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() 1948 EXPECT_EQ(bucket4StartTimeNs, iterator->second[0].mBucketStartNs); in TEST() 1953 EXPECT_EQ(bucketStartTimeNs, iterator->second[0].mBucketStartNs); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | CountMetricProducer.cpp | 221 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 223 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 232 VLOG("\t bucket [%lld - %lld] count: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked() 338 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
|
D | GaugeMetricProducer.cpp | 255 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 257 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 281 (long long)bucket.mBucketStartNs, (long long)bucket.mBucketEndNs, in onDumpReportLocked() 560 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
|
D | CountMetricProducer.h | 37 int64_t mBucketStartNs; member
|
D | ValueMetricProducer.cpp | 339 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 341 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 363 VLOG("\t bucket [%lld - %lld] value %d: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked() 368 VLOG("\t bucket [%lld - %lld] value %d: %.2f", (long long)bucket.mBucketStartNs, in onDumpReportLocked() 1032 bucket.mBucketStartNs = mCurrentBucketStartTimeNs; in buildPartialBucket()
|
D | DurationMetricProducer.cpp | 415 if (bucket.mBucketEndNs - bucket.mBucketStartNs != mBucketSizeNs) { in onDumpReportLocked() 417 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 426 VLOG("\t bucket [%lld - %lld] duration: %lld", (long long)bucket.mBucketStartNs, in onDumpReportLocked()
|
D | GaugeMetricProducer.h | 45 int64_t mBucketStartNs; member
|
D | ValueMetricProducer.h | 35 int64_t mBucketStartNs; member
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 168 current_info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket() 191 info.mBucketStartNs = fullBucketEnd + mBucketSizeNs * (i - 1); in flushCurrentBucket() 192 info.mBucketEndNs = info.mBucketStartNs + mBucketSizeNs; in flushCurrentBucket()
|
D | DurationTracker.h | 54 int64_t mBucketStartNs; member
|
D | MaxDurationTracker.cpp | 197 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
|