• Home
  • Raw
  • Download

Lines Matching refs:name

63 #define HISTOGRAM_TIMES(name, sample) HISTOGRAM_CUSTOM_TIMES( \  argument
64 name, sample, base::TimeDelta::FromMilliseconds(1), \
67 #define HISTOGRAM_COUNTS(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ argument
68 name, sample, 1, 1000000, 50)
70 #define HISTOGRAM_COUNTS_100(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ argument
71 name, sample, 1, 100, 50)
73 #define HISTOGRAM_COUNTS_10000(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ argument
74 name, sample, 1, 10000, 50)
76 #define HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) do { \ argument
79 counter = base::Histogram::FactoryGet(name, min, max, bucket_count, \
81 DCHECK_EQ(name, counter->histogram_name()); \
85 #define HISTOGRAM_PERCENTAGE(name, under_one_hundred) \ argument
86 HISTOGRAM_ENUMERATION(name, under_one_hundred, 101)
90 #define HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) do { \ argument
93 counter = base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \
95 DCHECK_EQ(name, counter->histogram_name()); \
100 #define HISTOGRAM_CLIPPED_TIMES(name, sample, min, max, bucket_count) do { \ argument
103 counter = base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \
105 DCHECK_EQ(name, counter->histogram_name()); \
112 #define HISTOGRAM_ENUMERATION(name, sample, boundary_value) do { \ argument
115 counter = base::LinearHistogram::FactoryGet(name, 1, boundary_value, \
117 DCHECK_EQ(name, counter->histogram_name()); \
121 #define HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) do { \ argument
124 counter = base::CustomHistogram::FactoryGet(name, custom_ranges, \
126 DCHECK_EQ(name, counter->histogram_name()); \
135 #define DHISTOGRAM_TIMES(name, sample) HISTOGRAM_TIMES(name, sample) argument
136 #define DHISTOGRAM_COUNTS(name, sample) HISTOGRAM_COUNTS(name, sample) argument
137 #define DHISTOGRAM_PERCENTAGE(name, under_one_hundred) HISTOGRAM_PERCENTAGE(\ argument
138 name, under_one_hundred)
139 #define DHISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument
140 HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count)
141 #define DHISTOGRAM_CLIPPED_TIMES(name, sample, min, max, bucket_count) \ argument
142 HISTOGRAM_CLIPPED_TIMES(name, sample, min, max, bucket_count)
143 #define DHISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument
144 HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count)
145 #define DHISTOGRAM_ENUMERATION(name, sample, boundary_value) \ argument
146 HISTOGRAM_ENUMERATION(name, sample, boundary_value)
147 #define DHISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument
148 HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges)
152 #define DHISTOGRAM_TIMES(name, sample) do {} while (0) argument
153 #define DHISTOGRAM_COUNTS(name, sample) do {} while (0) argument
154 #define DHISTOGRAM_PERCENTAGE(name, under_one_hundred) do {} while (0) argument
155 #define DHISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument
157 #define DHISTOGRAM_CLIPPED_TIMES(name, sample, min, max, bucket_count) \ argument
159 #define DHISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument
161 #define DHISTOGRAM_ENUMERATION(name, sample, boundary_value) do {} while (0) argument
162 #define DHISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument
173 #define UMA_HISTOGRAM_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
174 name, sample, base::TimeDelta::FromMilliseconds(1), \
177 #define UMA_HISTOGRAM_MEDIUM_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
178 name, sample, base::TimeDelta::FromMilliseconds(10), \
182 #define UMA_HISTOGRAM_LONG_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
183 name, sample, base::TimeDelta::FromMilliseconds(1), \
186 #define UMA_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) do { \ argument
189 counter = base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \
191 DCHECK_EQ(name, counter->histogram_name()); \
196 #define UMA_HISTOGRAM_CLIPPED_TIMES(name, sample, min, max, bucket_count) do { \ argument
199 counter = base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \
201 DCHECK_EQ(name, counter->histogram_name()); \
205 #define UMA_HISTOGRAM_COUNTS(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
206 name, sample, 1, 1000000, 50)
208 #define UMA_HISTOGRAM_COUNTS_100(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
209 name, sample, 1, 100, 50)
211 #define UMA_HISTOGRAM_COUNTS_10000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
212 name, sample, 1, 10000, 50)
214 #define UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) do { \ argument
217 counter = base::Histogram::FactoryGet(name, min, max, bucket_count, \
219 DCHECK_EQ(name, counter->histogram_name()); \
223 #define UMA_HISTOGRAM_MEMORY_KB(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
224 name, sample, 1000, 500000, 50)
226 #define UMA_HISTOGRAM_MEMORY_MB(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
227 name, sample, 1, 1000, 50)
229 #define UMA_HISTOGRAM_PERCENTAGE(name, under_one_hundred) \ argument
230 UMA_HISTOGRAM_ENUMERATION(name, under_one_hundred, 101)
232 #define UMA_HISTOGRAM_BOOLEAN(name, sample) do { \ argument
235 counter = base::BooleanHistogram::FactoryGet(name, \
237 DCHECK_EQ(name, counter->histogram_name()); \
241 #define UMA_HISTOGRAM_ENUMERATION(name, sample, boundary_value) do { \ argument
244 counter = base::LinearHistogram::FactoryGet(name, 1, boundary_value, \
246 DCHECK_EQ(name, counter->histogram_name()); \
250 #define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) do { \ argument
253 counter = base::CustomHistogram::FactoryGet(name, custom_ranges, \
255 DCHECK_EQ(name, counter->histogram_name()); \
376 static Histogram* FactoryGet(const std::string& name,
381 static Histogram* FactoryTimeGet(const std::string& name,
460 Histogram(const std::string& name, Sample minimum,
462 Histogram(const std::string& name, TimeDelta minimum,
590 static Histogram* FactoryGet(const std::string& name,
595 static Histogram* FactoryTimeGet(const std::string& name,
609 LinearHistogram(const std::string& name, Sample minimum,
612 LinearHistogram(const std::string& name, TimeDelta minimum,
642 static Histogram* FactoryGet(const std::string& name, Flags flags);
649 explicit BooleanHistogram(const std::string& name);
660 static Histogram* FactoryGet(const std::string& name,
668 CustomHistogram(const std::string& name,