Lines Matching defs:histogram
27 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name);
28 if (!histogram) {
29 // Try to create the histogram using a "persistent" allocator. As of
32 // allocating from it fails, code below will allocate the histogram from
52 // Register this histogram with the StatisticsRecorder. Keep a copy of
53 // the pointer value to tell later whether the locally created histogram
57 histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(
63 histogram == tentative_histogram_ptr);
66 ReportHistogramActivity(*histogram, HISTOGRAM_CREATED);
68 ReportHistogramActivity(*histogram, HISTOGRAM_LOOKUP);
71 DCHECK_EQ(SPARSE_HISTOGRAM, histogram->GetHistogramType());
72 return histogram;
188 // While other histogram types maintain a static vector of values with
193 // Since a sparse histogram has two sample maps (active and logged),
196 // that of the histogram while the "logged" samples use that number