Searched refs:SparseHistogram (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/base/metrics/ |
D | sparse_histogram.cc | 25 HistogramBase* SparseHistogram::FactoryGet(const std::string& name, in FactoryGet() 48 tentative_histogram.reset(new SparseHistogram(name)); in FactoryGet() 76 std::unique_ptr<HistogramBase> SparseHistogram::PersistentCreate( in PersistentCreate() 82 new SparseHistogram(allocator, name, meta, logged_meta)); in PersistentCreate() 85 SparseHistogram::~SparseHistogram() {} in ~SparseHistogram() 87 uint64_t SparseHistogram::name_hash() const { in name_hash() 91 HistogramType SparseHistogram::GetHistogramType() const { in GetHistogramType() 95 bool SparseHistogram::HasConstructionArguments( in HasConstructionArguments() 103 void SparseHistogram::Add(Sample value) { in Add() 107 void SparseHistogram::AddCount(Sample value, int count) { in AddCount() [all …]
|
D | sparse_histogram_unittest.cc | 74 std::unique_ptr<SparseHistogram> NewSparseHistogram(const std::string& name) { in NewSparseHistogram() 75 return std::unique_ptr<SparseHistogram>(new SparseHistogram(name)); in NewSparseHistogram() 94 std::unique_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_P() 113 std::unique_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_P() 132 std::unique_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_P() 196 std::unique_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_P() 228 SparseHistogram::FactoryGet(histogram_name, HistogramBase::kNoFlags); in TEST_P() 242 SparseHistogram::FactoryGet("something.new", HistogramBase::kNoFlags); in TEST_P() 247 std::unique_ptr<SparseHistogram> something = in TEST_P() 255 SparseHistogram::FactoryGet(histogram_name, HistogramBase::kNoFlags); in TEST_P() [all …]
|
D | sparse_histogram.h | 48 base::HistogramBase* histogram = base::SparseHistogram::FactoryGet( \ 56 class BASE_EXPORT SparseHistogram : public HistogramBase { 70 ~SparseHistogram() override; 94 explicit SparseHistogram(const std::string& name); 96 SparseHistogram(PersistentHistogramAllocator* allocator, 131 DISALLOW_COPY_AND_ASSIGN(SparseHistogram);
|
D | histogram_base_unittest.cc | 145 HistogramBase* histogram = SparseHistogram::FactoryGet( in TEST_F() 182 SparseHistogram::FactoryGet("CRH-Sparse", 0); in TEST_F() 199 SparseHistogram::FactoryGet("CRH-Sparse-UMA-Targeted", in TEST_F() 201 SparseHistogram::FactoryGet("CRH-Sparse-UMA-Stability", in TEST_F() 215 SparseHistogram::FactoryGet("CRH-Sparse", 0); in TEST_F()
|
D | histogram_base.cc | 57 return SparseHistogram::DeserializeInfoImpl(iter); in DeserializeHistogramInfo()
|
D | statistics_recorder_unittest.cc | 595 HistogramBase* custom_histogram = SparseHistogram::FactoryGet( in TEST_P()
|
D | persistent_histogram_allocator.cc | 513 SparseHistogram::PersistentCreate(this, histogram_data_ptr->name, in CreateHistogram()
|
/external/libmojo/base/android/ |
D | record_histogram.cc | 147 HistogramBase* SparseHistogram(JNIEnv* env, in SparseHistogram() function in base::android::__anon225a66660111::HistogramCache 156 histogram = SparseHistogram::FactoryGet( in SparseHistogram() 266 HistogramBase* histogram = g_histograms.Get().SparseHistogram( in RecordSparseHistogram()
|