Home
last modified time | relevance | path

Searched refs:SparseHistogram (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/metrics/
Dsparse_histogram.cc22 HistogramBase* SparseHistogram::FactoryGet(const std::string& name, in FactoryGet()
28 HistogramBase* tentative_histogram = new SparseHistogram(name); in FactoryGet()
37 SparseHistogram::~SparseHistogram() {} in ~SparseHistogram()
39 uint64_t SparseHistogram::name_hash() const { in name_hash()
43 HistogramType SparseHistogram::GetHistogramType() const { in GetHistogramType()
47 bool SparseHistogram::HasConstructionArguments( in HasConstructionArguments()
55 void SparseHistogram::Add(Sample value) { in Add()
59 void SparseHistogram::AddCount(Sample value, int count) { in AddCount()
72 scoped_ptr<HistogramSamples> SparseHistogram::SnapshotSamples() const { in SnapshotSamples()
80 void SparseHistogram::AddSamples(const HistogramSamples& samples) { in AddSamples()
[all …]
Dsparse_histogram.h27 base::HistogramBase* histogram = base::SparseHistogram::FactoryGet( \
34 class BASE_EXPORT SparseHistogram : public HistogramBase {
40 ~SparseHistogram() override;
62 explicit SparseHistogram(const std::string& name);
90 DISALLOW_COPY_AND_ASSIGN(SparseHistogram);
Dsparse_histogram_unittest.cc39 scoped_ptr<SparseHistogram> NewSparseHistogram(const std::string& name) { in NewSparseHistogram()
40 return scoped_ptr<SparseHistogram>(new SparseHistogram(name)); in NewSparseHistogram()
47 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_F()
66 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_F()
125 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_F()
Dhistogram_base_unittest.cc135 HistogramBase* histogram = SparseHistogram::FactoryGet( in TEST_F()
Dhistogram_base.cc58 return SparseHistogram::DeserializeInfoImpl(iter); in DeserializeHistogramInfo()
Dstatistics_recorder_unittest.cc458 HistogramBase* custom_histogram = SparseHistogram::FactoryGet( in TEST_F()