Home | History | Annotate | Download | only in metrics

Lines Matching refs:Histogram

9 #include "base/metrics/histogram.h"
24 HistogramBase* histogram = Histogram::FactoryGet(
26 histogram->Add(1);
27 histogram->Add(10);
28 histogram->Add(100);
29 histogram->Add(1000);
36 // The histogram has kIPCSerializationSourceFlag. So samples will be ignored.
37 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples());
44 histogram->ClearFlags(HistogramBase::kIPCSerializationSourceFlag);
47 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples());