Lines Matching refs:name

93 #define LOCAL_HISTOGRAM_TIMES(name, sample) LOCAL_HISTOGRAM_CUSTOM_TIMES( \  argument
94 name, sample, base::TimeDelta::FromMilliseconds(1), \
99 #define LOCAL_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument
100 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \
101 base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \
104 #define LOCAL_HISTOGRAM_COUNTS(name, sample) LOCAL_HISTOGRAM_CUSTOM_COUNTS( \ argument
105 name, sample, 1, 1000000, 50)
107 #define LOCAL_HISTOGRAM_COUNTS_100(name, sample) \ argument
108 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 100, 50)
110 #define LOCAL_HISTOGRAM_COUNTS_10000(name, sample) \ argument
111 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50)
113 #define LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument
114 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
115 base::Histogram::FactoryGet(name, min, max, bucket_count, \
119 #define HISTOGRAM_ENUMERATION_WITH_FLAG(name, sample, boundary, flag) \ argument
120 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
121 base::LinearHistogram::FactoryGet(name, 1, boundary, boundary + 1, \
124 #define LOCAL_HISTOGRAM_PERCENTAGE(name, under_one_hundred) \ argument
125 LOCAL_HISTOGRAM_ENUMERATION(name, under_one_hundred, 101)
127 #define LOCAL_HISTOGRAM_BOOLEAN(name, sample) \ argument
128 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddBoolean(sample), \
129 base::BooleanHistogram::FactoryGet(name, base::Histogram::kNoFlags))
137 #define LOCAL_HISTOGRAM_ENUMERATION(name, sample, boundary_value) \ argument
138 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
139 base::LinearHistogram::FactoryGet(name, 1, boundary_value, \
147 #define LOCAL_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument
148 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
149 base::CustomHistogram::FactoryGet(name, custom_ranges, \
152 #define LOCAL_HISTOGRAM_MEMORY_KB(name, sample) LOCAL_HISTOGRAM_CUSTOM_COUNTS( \ argument
153 name, sample, 1000, 500000, 50)
161 #define UMA_HISTOGRAM_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
162 name, sample, base::TimeDelta::FromMilliseconds(1), \
165 #define UMA_HISTOGRAM_MEDIUM_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
166 name, sample, base::TimeDelta::FromMilliseconds(10), \
170 #define UMA_HISTOGRAM_LONG_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
171 name, sample, base::TimeDelta::FromMilliseconds(1), \
176 #define UMA_HISTOGRAM_LONG_TIMES_100(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
177 name, sample, base::TimeDelta::FromMilliseconds(1), \
180 #define UMA_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument
181 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \
182 base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \
185 #define UMA_HISTOGRAM_COUNTS(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
186 name, sample, 1, 1000000, 50)
188 #define UMA_HISTOGRAM_COUNTS_100(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
189 name, sample, 1, 100, 50)
191 #define UMA_HISTOGRAM_COUNTS_1000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
192 name, sample, 1, 1000, 50)
194 #define UMA_HISTOGRAM_COUNTS_10000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
195 name, sample, 1, 10000, 50)
197 #define UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument
198 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
199 base::Histogram::FactoryGet(name, min, max, bucket_count, \
202 #define UMA_HISTOGRAM_MEMORY_KB(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
203 name, sample, 1000, 500000, 50)
205 #define UMA_HISTOGRAM_MEMORY_MB(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
206 name, sample, 1, 1000, 50)
208 #define UMA_HISTOGRAM_MEMORY_LARGE_MB(name, sample) \ argument
209 UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 64000, 100)
211 #define UMA_HISTOGRAM_PERCENTAGE(name, under_one_hundred) \ argument
212 UMA_HISTOGRAM_ENUMERATION(name, under_one_hundred, 101)
214 #define UMA_HISTOGRAM_BOOLEAN(name, sample) \ argument
215 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddBoolean(sample), \
216 base::BooleanHistogram::FactoryGet(name, \
221 #define UMA_HISTOGRAM_ENUMERATION(name, sample, boundary_value) \ argument
222 HISTOGRAM_ENUMERATION_WITH_FLAG(name, sample, boundary_value, \
228 #define UMA_STABILITY_HISTOGRAM_ENUMERATION(name, sample, boundary_value) \ argument
229 HISTOGRAM_ENUMERATION_WITH_FLAG(name, sample, boundary_value, \
232 #define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument
233 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
234 base::CustomHistogram::FactoryGet(name, custom_ranges, \
240 #define SCOPED_UMA_HISTOGRAM_TIMER(name) \ argument
241 SCOPED_UMA_HISTOGRAM_TIMER_EXPANDER(name, false, __COUNTER__)
246 #define SCOPED_UMA_HISTOGRAM_LONG_TIMER(name) \ argument
247 SCOPED_UMA_HISTOGRAM_TIMER_EXPANDER(name, true, __COUNTER__)
250 #define SCOPED_UMA_HISTOGRAM_TIMER_EXPANDER(name, is_long, key) \ argument
251 SCOPED_UMA_HISTOGRAM_TIMER_UNIQUE(name, is_long, key)
253 #define SCOPED_UMA_HISTOGRAM_TIMER_UNIQUE(name, is_long, key) \ argument
260 UMA_HISTOGRAM_LONG_TIMES_100(name, elapsed); \
262 UMA_HISTOGRAM_TIMES(name, elapsed); \