Lines Matching full:sample

35 // You should be defining an associated Enum, and the input sample should be
40 // histogram name and the enum sample. It deduces the correct boundary value to
45 // Sample usage:
61 // Sample usage:
89 #define UMA_HISTOGRAM_SCALED_ENUMERATION(name, sample, count, scale) \ argument
91 name, sample, count, scale, \
96 // Sample usage:
98 #define UMA_HISTOGRAM_BOOLEAN(name, sample) \ argument
99 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddBoolean(sample), \
113 // Sample usage:
115 #define UMA_HISTOGRAM_EXACT_LINEAR(name, sample, value_max) \ argument
117 name, sample, value_max, base::HistogramBase::kUmaTargetedHistogramFlag)
121 // Sample usage:
134 #define UMA_HISTOGRAM_SCALED_EXACT_LINEAR(name, sample, count, value_max, \ argument
137 name, sample, count, value_max, scale, \
144 // The number suffixes here refer to the max size of the sample, i.e. COUNT_1000
149 // bucket ranges exponentially increase as the sample range increases.
157 // Sample usage:
158 // UMA_HISTOGRAM_COUNTS_1M("My.Histogram", sample);
160 #define UMA_HISTOGRAM_COUNTS_100(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
161 name, sample, 1, 100, 50)
163 #define UMA_HISTOGRAM_COUNTS_1000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
164 name, sample, 1, 1000, 50)
166 #define UMA_HISTOGRAM_COUNTS_10000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
167 name, sample, 1, 10000, 50)
169 #define UMA_HISTOGRAM_COUNTS_100000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
170 name, sample, 1, 100000, 50)
172 #define UMA_HISTOGRAM_COUNTS_1M(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
173 name, sample, 1, 1000000, 50)
175 #define UMA_HISTOGRAM_COUNTS_10M(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
176 name, sample, 1, 10000000, 50)
185 // Sample usage:
187 #define UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument
189 name, sample, min, max, bucket_count, \
197 // ranges exponentially increase as the sample range increases). The input
198 // sample is a base::TimeDelta. The output data is measured in ms granularity.
201 // Sample usage:
206 #define UMA_HISTOGRAM_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
207 name, sample, base::TimeDelta::FromMilliseconds(1), \
212 #define UMA_HISTOGRAM_MEDIUM_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
213 name, sample, base::TimeDelta::FromMilliseconds(10), \
217 #define UMA_HISTOGRAM_LONG_TIMES(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
218 name, sample, base::TimeDelta::FromMilliseconds(1), \
222 #define UMA_HISTOGRAM_LONG_TIMES_100(name, sample) UMA_HISTOGRAM_CUSTOM_TIMES( \ argument
223 name, sample, base::TimeDelta::FromMilliseconds(1), \
230 // Sample usage:
233 #define UMA_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument
235 name, AddTimeMillisecondsGranularity(sample), \
240 // Same as UMA_HISTOGRAM_CUSTOM_TIMES but reports |sample| in microseconds,
245 // Windows.HasHighResolutionTimeTicks for the affected sample.
247 // Sample usage:
252 #define UMA_HISTOGRAM_CUSTOM_MICROSECONDS_TIMES(name, sample, min, max, \ argument
255 name, AddTimeMicrosecondsGranularity(sample), \
265 // Sample usage:
284 // ranges exponentially increase as the sample range increases). The input
285 // sample must be a number measured in kilobytes.
288 // Sample usage:
293 #define UMA_HISTOGRAM_MEMORY_KB(name, sample) \ argument
294 UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1000, 500000, 50)
297 #define UMA_HISTOGRAM_MEMORY_LARGE_MB(name, sample) \ argument
298 UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 64000, 100)
311 #define UMA_STABILITY_HISTOGRAM_COUNTS_100(name, sample) \ argument
312 UMA_STABILITY_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 100, 50)
314 #define UMA_STABILITY_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, \ argument
317 name, sample, min, max, bucket_count, \
320 #define UMA_STABILITY_HISTOGRAM_ENUMERATION(name, sample, enum_max) \ argument
322 name, sample, enum_max, \
363 #define UMA_HISTOGRAM_COUNTS(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
364 name, sample, 1, 1000000, 50)
367 #define UMA_HISTOGRAM_MEMORY_MB(name, sample) \ argument
368 UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 1000, 50)
376 // valid sample values to a std::vector<int>.
377 #define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \ argument
378 STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \