Lines Matching refs:Histogram
7 #include "base/metrics/histogram.h"
14 using base::Histogram;
72 Histogram::ClassType type,
78 Histogram* counter;
79 if (type == Histogram::LINEAR_HISTOGRAM) {
84 Histogram::kUmaTargetedHistogramFlag);
86 counter = Histogram::FactoryGet(full_name,
90 Histogram::kUmaTargetedHistogramFlag);
101 // Get the histogram parameters from the metric type object.
116 Histogram::ClassType histogram_type(type == "histogram-linear" ?
117 Histogram::LINEAR_HISTOGRAM : Histogram::HISTOGRAM);
125 return RecordValue(name, Histogram::LINEAR_HISTOGRAM, 1, 101, 102, sample);
132 return RecordValue(name, Histogram::HISTOGRAM, 1, 1000000, 50, sample);
139 return RecordValue(name, Histogram::HISTOGRAM, 1, 100, 50, sample);
146 return RecordValue(name, Histogram::HISTOGRAM, 1, 10000, 50, sample);
154 return RecordValue(name, Histogram::HISTOGRAM, 1, kTenSecMs, 50, sample);
162 return RecordValue(name, Histogram::HISTOGRAM, 1, kThreeMinMs, 50, sample);
170 return RecordValue(name, Histogram::HISTOGRAM, 1, kOneHourMs, 50, sample);