Home
last modified time | relevance | path

Searched refs:custom_ranges (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/metrics/
Dhistogram_unittest.cc108 std::vector<int> custom_ranges; in TEST_P() local
109 custom_ranges.push_back(1); in TEST_P()
110 custom_ranges.push_back(5); in TEST_P()
112 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags); in TEST_P()
294 std::vector<HistogramBase::Sample> custom_ranges; in TEST_P() local
295 custom_ranges.push_back(1); in TEST_P()
296 custom_ranges.push_back(2); in TEST_P()
299 CustomHistogram::FactoryGet("TestCustomHistogram1", custom_ranges, in TEST_P()
309 custom_ranges.clear(); in TEST_P()
310 custom_ranges.push_back(2); in TEST_P()
[all …]
Dstatistics_recorder_unittest.cc304 std::vector<int> custom_ranges; in TEST_P() local
305 custom_ranges.push_back(1); in TEST_P()
306 custom_ranges.push_back(5); in TEST_P()
308 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags); in TEST_P()
576 std::vector<int> custom_ranges; in TEST_P() local
577 custom_ranges.push_back(1); in TEST_P()
578 custom_ranges.push_back(5); in TEST_P()
580 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags); in TEST_P()
Dpersistent_histogram_allocator_unittest.cc84 std::vector<int> custom_ranges; in TEST_F() local
85 custom_ranges.push_back(1); in TEST_F()
86 custom_ranges.push_back(5); in TEST_F()
88 "TestCustomHistogram", custom_ranges, HistogramBase::kIsPersistent); in TEST_F()
Dhistogram.cc1021 const std::vector<Sample>* custom_ranges, in Factory() argument
1024 custom_ranges_ = custom_ranges; in Factory()
1058 const std::vector<Sample>& custom_ranges, in FactoryGet() argument
1060 CHECK(ValidateCustomRanges(custom_ranges)); in FactoryGet()
1062 return Factory(name, &custom_ranges, flags).Build(); in FactoryGet()
1067 const std::vector<Sample>& custom_ranges, in FactoryGet() argument
1069 return FactoryGet(std::string(name), custom_ranges, flags); in FactoryGet()
1179 const std::vector<Sample>& custom_ranges) { in ValidateCustomRanges() argument
1181 for (uint32_t i = 0; i < custom_ranges.size(); i++) { in ValidateCustomRanges()
1182 Sample sample = custom_ranges[i]; in ValidateCustomRanges()
Dhistogram_macros.h310 #define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument
312 base::CustomHistogram::FactoryGet(name, custom_ranges, \
Dhistogram.h485 const std::vector<Sample>& custom_ranges,
492 const std::vector<Sample>& custom_ranges,
540 static bool ValidateCustomRanges(const std::vector<Sample>& custom_ranges);