Searched refs:DurationBucket (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | MaxDurationTracker_test.cpp | 59 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 94 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 130 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 171 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 234 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 243 vector<DurationBucket> item = buckets.begin()->second; in TEST() 256 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 307 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 393 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST()
|
D | OringDurationTracker_test.cpp | 57 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 90 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 123 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 153 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 198 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 238 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 278 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 317 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 484 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST() 534 unordered_map<MetricDimensionKey, vector<DurationBucket>> buckets; in TEST()
|
D | DurationMetricProducer_test.cpp | 165 std::vector<DurationBucket> buckets = in TEST() 220 std::vector<DurationBucket> buckets = in TEST() 323 std::vector<DurationBucket> buckets = in TEST() 372 std::vector<DurationBucket> buckets = in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | DurationTracker.h | 54 struct DurationBucket { struct 102 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>>* output) = 0; 108 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>>* output) = 0;
|
D | MaxDurationTracker.h | 51 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>>* output) override; 54 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>>*) override;
|
D | OringDurationTracker.h | 53 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>>* output) override; 56 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>>* output) override;
|
D | OringDurationTracker.cpp | 140 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>>* output) { in flushCurrentBucket() 163 DurationBucket current_info; in flushCurrentBucket() 179 DurationBucket info; in flushCurrentBucket() 210 int64_t eventTimeNs, unordered_map<MetricDimensionKey, vector<DurationBucket>>* output) { in flushIfNeeded()
|
D | MaxDurationTracker.cpp | 190 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>>* output) { in flushCurrentBucket() 220 DurationBucket info; in flushCurrentBucket() 241 int64_t eventTimeNs, unordered_map<MetricDimensionKey, vector<DurationBucket>>* output) { in flushIfNeeded()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | DurationMetricProducer.h | 119 std::unordered_map<MetricDimensionKey, std::vector<DurationBucket>> mPastBuckets; 136 static const size_t kBucketSize = sizeof(DurationBucket{});
|