Home
last modified time | relevance | path

Searched refs:buckets (Results 1 – 10 of 10) 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.cc161 std::vector<uint32_t> buckets{GetBuckets(histogram)}; in TEST_F() local
162 EXPECT_EQ(1u, buckets[0u]); in TEST_F()
163 EXPECT_EQ(2u, buckets[1u]); in TEST_F()
164 EXPECT_EQ(4u, buckets[2u]); in TEST_F()
165 EXPECT_EQ(3u, buckets[3u]); in TEST_F()
166 EXPECT_EQ(0u, buckets[4u]); in TEST_F()
180 std::vector<uint32_t> buckets{GetBuckets(histogram)}; in TEST_F() local
181 EXPECT_EQ(1u, buckets[0u]); in TEST_F()
182 EXPECT_EQ(2u, buckets[1u]); in TEST_F()
215 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.cc128 const std::vector<uint32_t>& buckets) { in ReportHistogram() argument
130 if (buckets.size() > 0) { in ReportHistogram()
133 for (const auto& count : buckets) { in ReportHistogram()
Dmetrics.h229 const std::vector<uint32_t>& buckets) = 0;
451 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/tools/luci/config/
Dcr-buildbucket.cfg1 # Defines buckets on cr-buildbucket.appspot.com, used to schedule builds
2 # on buildbot. In particular, CQ uses some of these buckets to schedule tryjobs.
28 buckets {
Dluci-logdog.cfg8 # the Chromium auth group and buckets.
/art/test/099-vmdebug/src/
DMain.java147 String[] buckets = s.split(","); in checkHistogram() local
149 for (int i = 0; i < buckets.length; ++i) { in checkHistogram()
150 String bucket = buckets[i]; in checkHistogram()
/art/runtime/metrics/
Dreporter_test.cc74 const std::vector<uint32_t>& buckets ATTRIBUTE_UNUSED) override { in ReportHistogram()