Home
last modified time | relevance | path

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

/external/chromium/base/metrics/
Dhistogram_unittest.cc38 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 …]
Dhistogram.h121 #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);
Dhistogram.cc907 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 …]