Lines Matching refs:sample

100 // sample is an expansion (with comments) of the code for
134 histogram_pointer->Add(sample);
139 // vary are the invocation of the Add(sample) vs AddTime(sample), and the choice
168 #define LOCAL_HISTOGRAM_TIMES(name, sample) LOCAL_HISTOGRAM_CUSTOM_TIMES( \
169 name, sample, base::TimeDelta::FromMilliseconds(1), \
174 #define LOCAL_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \
175 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \
179 #define LOCAL_HISTOGRAM_COUNTS(name, sample) LOCAL_HISTOGRAM_CUSTOM_COUNTS( \
180 name, sample, 1, 1000000, 50)
182 #define LOCAL_HISTOGRAM_COUNTS_100(name, sample) \
183 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 100, 50)
185 #define LOCAL_HISTOGRAM_COUNTS_10000(name, sample) \
186 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50)
188 #define LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \
189 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
194 #define HISTOGRAM_ENUMERATION_WITH_FLAG(name, sample, boundary, flag) \
195 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
202 #define LOCAL_HISTOGRAM_BOOLEAN(name, sample) \
203 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddBoolean(sample), \
212 #define LOCAL_HISTOGRAM_ENUMERATION(name, sample, boundary_value) \
213 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
221 // transform a C-style array of valid sample values to a std::vector<int>.
222 #define LOCAL_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \
223 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
227 #define LOCAL_HISTOGRAM_MEMORY_KB(name, sample) LOCAL_HISTOGRAM_CUSTOM_COUNTS( \
228 name, sample, 1000, 500000, 50)
236 #define UMA_HISTOGRAM_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \
237 name, sample, base::TimeDelta::FromMilliseconds(1), \
240 #define UMA_HISTOGRAM_MEDIUM_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \
241 name, sample, base::TimeDelta::FromMilliseconds(10), \
245 #define UMA_HISTOGRAM_LONG_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \
246 name, sample, base::TimeDelta::FromMilliseconds(1), \
251 #define UMA_HISTOGRAM_LONG_TIMES_100(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \
252 name, sample, base::TimeDelta::FromMilliseconds(1), \
255 #define UMA_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \
256 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \
260 #define UMA_HISTOGRAM_COUNTS(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \
261 name, sample, 1, 1000000, 50)
263 #define UMA_HISTOGRAM_COUNTS_100(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \
264 name, sample, 1, 100, 50)
266 #define UMA_HISTOGRAM_COUNTS_10000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \
267 name, sample, 1, 10000, 50)
269 #define UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \
270 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
274 #define UMA_HISTOGRAM_MEMORY_KB(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \
275 name, sample, 1000, 500000, 50)
277 #define UMA_HISTOGRAM_MEMORY_MB(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \
278 name, sample, 1, 1000, 50)
283 #define UMA_HISTOGRAM_BOOLEAN(name, sample) \
284 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddBoolean(sample), \
290 #define UMA_HISTOGRAM_ENUMERATION(name, sample, boundary_value) \
291 HISTOGRAM_ENUMERATION_WITH_FLAG(name, sample, boundary_value, \
297 #define UMA_STABILITY_HISTOGRAM_ENUMERATION(name, sample, boundary_value) \
298 HISTOGRAM_ENUMERATION_WITH_FLAG(name, sample, boundary_value, \
301 #define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \
302 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
351 // redundant count that doesn't match the sample count. We allow for a
474 // sample.
502 Sample sample;
594 // valid sample value (unless the next higher sample is also a valid value),