/external/chromium/base/metrics/ |
D | histogram_unittest.cc | 38 std::vector<int> custom_ranges; in TEST() local 39 custom_ranges.push_back(1); in TEST() 40 custom_ranges.push_back(5); in TEST() 41 custom_ranges.push_back(10); in TEST() 42 custom_ranges.push_back(20); in TEST() 43 custom_ranges.push_back(30); in TEST() 45 "TestCustomHistogram", custom_ranges, Histogram::kNoFlags)); in TEST() 48 "Test1CustomHistogram", custom_ranges, Histogram::kNoFlags)); in TEST() 110 std::vector<int> custom_ranges; in TEST() local 111 custom_ranges.push_back(1); in TEST() [all …]
|
D | histogram.h | 121 #define HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) do { \ argument 124 counter = base::CustomHistogram::FactoryGet(name, custom_ranges, \ 147 #define DHISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument 148 HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) 162 #define DHISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument 250 #define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) do { \ argument 253 counter = base::CustomHistogram::FactoryGet(name, custom_ranges, \ 661 const std::vector<Sample>& custom_ranges, 669 const std::vector<Sample>& custom_ranges); 672 void InitializedCustomBucketRange(const std::vector<Sample>& custom_ranges);
|
D | histogram.cc | 907 const std::vector<Sample>& custom_ranges, in FactoryGet() argument 912 std::vector<int> ranges = custom_ranges; in FactoryGet() 944 const std::vector<Sample>& custom_ranges) in CustomHistogram() argument 945 : Histogram(name, custom_ranges[1], custom_ranges.back(), in CustomHistogram() 946 custom_ranges.size()) { in CustomHistogram() 947 DCHECK_GT(custom_ranges.size(), 1u); in CustomHistogram() 948 DCHECK_EQ(custom_ranges[0], 0); in CustomHistogram() 952 const std::vector<Sample>& custom_ranges) { in InitializedCustomBucketRange() argument 953 DCHECK_GT(custom_ranges.size(), 1u); in InitializedCustomBucketRange() 954 DCHECK_EQ(custom_ranges[0], 0); in InitializedCustomBucketRange() [all …]
|
/external/chromium_org/base/metrics/ |
D | histogram_unittest.cc | 60 vector<int> custom_ranges; in TEST_F() local 61 custom_ranges.push_back(1); in TEST_F() 62 custom_ranges.push_back(5); in TEST_F() 64 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags); in TEST_F() 178 vector<HistogramBase::Sample> custom_ranges; in TEST_F() local 179 custom_ranges.push_back(1); in TEST_F() 180 custom_ranges.push_back(2); in TEST_F() 183 CustomHistogram::FactoryGet("TestCustomHistogram1", custom_ranges, in TEST_F() 193 custom_ranges.clear(); in TEST_F() 194 custom_ranges.push_back(2); in TEST_F() [all …]
|
D | histogram.h | 216 #define HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument 218 base::CustomHistogram::FactoryGet(name, custom_ranges, \ 240 #define DHISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument 241 HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) 286 #define DHISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument 287 DISCARD_3_ARGUMENTS(name, sample, custom_ranges) 356 #define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument 358 base::CustomHistogram::FactoryGet(name, custom_ranges, \ 644 const std::vector<Sample>& custom_ranges, 672 static bool ValidateCustomRanges(const std::vector<Sample>& custom_ranges); [all …]
|
D | statistics_recorder_unittest.cc | 208 std::vector<int> custom_ranges; in TEST_F() local 209 custom_ranges.push_back(1); in TEST_F() 210 custom_ranges.push_back(5); in TEST_F() 212 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags); in TEST_F()
|
D | histogram.cc | 704 const vector<Sample>& custom_ranges, in FactoryGet() argument 706 CHECK(ValidateCustomRanges(custom_ranges)); in FactoryGet() 710 BucketRanges* ranges = CreateBucketRangesFromCustomRanges(custom_ranges); in FactoryGet() 804 const vector<Sample>& custom_ranges) { in ValidateCustomRanges() argument 806 for (size_t i = 0; i < custom_ranges.size(); i++) { in ValidateCustomRanges() 807 Sample sample = custom_ranges[i]; in ValidateCustomRanges() 818 const vector<Sample>& custom_ranges) { in CreateBucketRangesFromCustomRanges() argument 820 vector<int> ranges = custom_ranges; in CreateBucketRangesFromCustomRanges()
|