Lines Matching refs:sample
21 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \
26 counter->Add(sample); \
29 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \
30 name, sample, 1, 1000000, 50)
32 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \
33 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50)
35 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \
36 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50)
38 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \
43 counter->AddTime(sample); \
46 #define CACHE_HISTOGRAM_TIMES(name, sample) CACHE_HISTOGRAM_CUSTOM_TIMES( \
47 name, sample, base::TimeDelta::FromMilliseconds(1), \
50 #define CACHE_HISTOGRAM_ENUMERATION(name, sample, boundary_value) do { \
54 counter->Add(sample); \
77 #define CACHE_HISTOGRAM_CACHE_ERROR(name, sample) \
78 CACHE_HISTOGRAM_ENUMERATION(name, sample, 50)
81 // it (asking backend_->HistogramName), and adding the provided sample.
90 #define CACHE_UMA(type, name, experiment, sample) {\
102 CACHE_HISTOGRAM_##type(my_name.data(), sample);\