Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dhistogram_unittest.cc107 std::vector<int> custom_ranges; in TEST_P() local
108 custom_ranges.push_back(1); in TEST_P()
109 custom_ranges.push_back(5); in TEST_P()
111 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags); in TEST_P()
293 std::vector<HistogramBase::Sample> custom_ranges; in TEST_P() local
294 custom_ranges.push_back(1); in TEST_P()
295 custom_ranges.push_back(2); in TEST_P()
298 CustomHistogram::FactoryGet("TestCustomHistogram1", custom_ranges, in TEST_P()
308 custom_ranges.clear(); in TEST_P()
309 custom_ranges.push_back(2); in TEST_P()
[all …]
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()
Dstatistics_recorder_unittest.cc303 std::vector<int> custom_ranges; in TEST_P() local
304 custom_ranges.push_back(1); in TEST_P()
305 custom_ranges.push_back(5); in TEST_P()
307 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags); in TEST_P()
575 std::vector<int> custom_ranges; in TEST_P() local
576 custom_ranges.push_back(1); in TEST_P()
577 custom_ranges.push_back(5); in TEST_P()
579 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags); in TEST_P()
Dhistogram_macros.h176 #define LOCAL_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument
178 base::CustomHistogram::FactoryGet(name, custom_ranges, \
261 #define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument
263 base::CustomHistogram::FactoryGet(name, custom_ranges, \
Dhistogram.cc1023 const std::vector<Sample>* custom_ranges, in Factory() argument
1026 custom_ranges_ = custom_ranges; in Factory()
1060 const std::vector<Sample>& custom_ranges, in FactoryGet() argument
1062 CHECK(ValidateCustomRanges(custom_ranges)); in FactoryGet()
1064 return Factory(name, &custom_ranges, flags).Build(); in FactoryGet()
1069 const std::vector<Sample>& custom_ranges, in FactoryGet() argument
1071 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.h490 const std::vector<Sample>& custom_ranges,
497 const std::vector<Sample>& custom_ranges,
545 static bool ValidateCustomRanges(const std::vector<Sample>& custom_ranges);