Home
last modified time | relevance | path

Searched refs:buckets (Results 1 – 9 of 9) sorted by relevance

/art/libartbase/base/metrics/
Dmetrics_test.h46 [[maybe_unused]] const std::vector<uint32_t>& buckets) override {} in ReportHistogram() argument
68 std::vector<uint32_t> buckets; in GetBuckets() local
70 explicit HistogramBackend(std::vector<uint32_t>* buckets) : buckets_{buckets} {} in GetBuckets()
72 void ReportHistogram(DatumId, int64_t, int64_t, const std::vector<uint32_t>& buckets) override { in GetBuckets()
73 *buckets_ = buckets; in GetBuckets()
77 } backend{&buckets}; in GetBuckets()
79 return buckets; in GetBuckets()
Dmetrics_test.cc159 std::vector<uint32_t> buckets{GetBuckets(histogram)}; in TEST_F() local
160 EXPECT_EQ(1u, buckets[0u]); in TEST_F()
161 EXPECT_EQ(2u, buckets[1u]); in TEST_F()
162 EXPECT_EQ(4u, buckets[2u]); in TEST_F()
163 EXPECT_EQ(3u, buckets[3u]); in TEST_F()
164 EXPECT_EQ(0u, buckets[4u]); in TEST_F()
178 std::vector<uint32_t> buckets{GetBuckets(histogram)}; in TEST_F() local
179 EXPECT_EQ(1u, buckets[0u]); in TEST_F()
180 EXPECT_EQ(2u, buckets[1u]); in TEST_F()
220 const std::vector<uint32_t>& buckets) override { in TEST_F() argument
[all …]
DREADME.md39 Histograms divide a range into several buckets and count how many times a value
46 know what range the fixed number of buckets cover. We could keep track of the
47 observed ranges and try to rescale the buckets or allocate new buckets, but
50 bucket (basically, the two buckets on either side are infinitely long). If we
51 see those buckets being way taller than the others, it means we should consider
Dmetrics_common.cc135 const std::vector<uint32_t>& buckets) { in ReportHistogram() argument
136 formatter_->FormatReportHistogram(histogram_type, minimum_value_, maximum_value_, buckets); in ReportHistogram()
162 const std::vector<uint32_t>& buckets) { in FormatReportHistogram() argument
165 if (!buckets.empty()) { in FormatReportHistogram()
168 for (const auto& count : buckets) { in FormatReportHistogram()
227 const std::vector<uint32_t>& buckets) { in FormatReportHistogram() argument
237 for (const auto& count : buckets) { in FormatReportHistogram()
Dmetrics.h277 const std::vector<uint32_t>& buckets) = 0;
497 std::vector<value_t> buckets = GetBuckets(); in IsNull() local
498 return std::all_of(buckets.cbegin(), buckets.cend(), [](value_t i) { return i == 0; }); in IsNull()
564 const std::vector<uint32_t>& buckets) = 0;
584 const std::vector<uint32_t>& buckets) override;
607 const std::vector<uint32_t>& buckets) override;
635 const std::vector<uint32_t>& buckets) override;
/art/test/102-concurrent-gc/src/
DMain.java20 private static final int buckets = 16 * 1024; field in Main
28 ByteContainer[] l = new ByteContainer[buckets]; in main()
30 for (int i = 0; i < buckets; ++i) { in main()
35 for (int i = 0; i < buckets / 256; ++i) { in main()
36 int index = rnd.nextInt(buckets); in main()
/art/test/099-vmdebug/src/
DMain.java175 String[] buckets = s.split(","); in checkHistogram() local
177 for (int i = 0; i < buckets.length; ++i) { in checkHistogram()
178 String bucket = buckets[i]; in checkHistogram()
/art/runtime/metrics/
Dreporter_test.cc71 [[maybe_unused]] const std::vector<uint32_t>& buckets) override { in ReportHistogram() argument
/art/tools/luci/config/generated/
Dcr-buildbucket.cfg7 buckets {