Lines Matching refs:sample
20 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \
27 counter->Add(sample); \
30 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \
31 name, sample, 1, 1000000, 50)
33 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \
34 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50)
36 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \
37 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50)
39 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \
46 counter->AddTime(sample); \
49 #define CACHE_HISTOGRAM_TIMES(name, sample) CACHE_HISTOGRAM_CUSTOM_TIMES( \
50 name, sample, base::TimeDelta::FromMilliseconds(1), \
53 #define CACHE_HISTOGRAM_ENUMERATION(name, sample, boundary_value) do { \
59 counter->Add(sample); \
82 #define CACHE_HISTOGRAM_CACHE_ERROR(name, sample) \
83 CACHE_HISTOGRAM_ENUMERATION(name, sample, 50)
86 // it (asking backend_->HistogramName), and adding the provided sample.
93 #define CACHE_UMA(type, name, sample) {\
102 CACHE_HISTOGRAM_##type(my_name.data(), sample);\