Searched refs:SparseHistogram (Results 1 – 10 of 10) sorted by relevance
/external/libchrome/base/metrics/ |
D | sparse_histogram.cc | 26 HistogramBase* SparseHistogram::FactoryGet(const std::string& name, in FactoryGet() 55 tentative_histogram.reset(new SparseHistogram(GetPermanentName(name))); in FactoryGet() 79 std::unique_ptr<HistogramBase> SparseHistogram::PersistentCreate( in PersistentCreate() 85 new SparseHistogram(allocator, name, meta, logged_meta)); in PersistentCreate() 88 SparseHistogram::~SparseHistogram() = default; 90 uint64_t SparseHistogram::name_hash() const { in name_hash() 94 HistogramType SparseHistogram::GetHistogramType() const { in GetHistogramType() 98 bool SparseHistogram::HasConstructionArguments( in HasConstructionArguments() 106 void SparseHistogram::Add(Sample value) { in Add() 110 void SparseHistogram::AddCount(Sample value, int count) { in AddCount() [all …]
|
D | sparse_histogram_unittest.cc | 72 std::unique_ptr<SparseHistogram> NewSparseHistogram(const char* 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() 154 std::unique_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_P() 211 std::unique_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_P() 243 SparseHistogram::FactoryGet(histogram_name, HistogramBase::kNoFlags); in TEST_P() 257 SparseHistogram::FactoryGet("something.new", HistogramBase::kNoFlags); in TEST_P() 262 std::unique_ptr<SparseHistogram> something = in TEST_P() [all …]
|
D | sparse_histogram.h | 28 class BASE_EXPORT SparseHistogram : public HistogramBase { 42 ~SparseHistogram() override; 66 explicit SparseHistogram(const char* name); 68 SparseHistogram(PersistentHistogramAllocator* allocator, 103 DISALLOW_COPY_AND_ASSIGN(SparseHistogram);
|
D | histogram_functions.cc | 105 HistogramBase* histogram = SparseHistogram::FactoryGet( in UmaHistogramSparse()
|
D | histogram_base.cc | 65 return SparseHistogram::DeserializeInfoImpl(iter); in DeserializeHistogramInfo()
|
D | histogram_base_unittest.cc | 139 HistogramBase* histogram = SparseHistogram::FactoryGet( in TEST_F()
|
D | persistent_histogram_allocator_unittest.cc | 240 SparseHistogram::FactoryGet(SparseHistogramName, 0); in TEST_F()
|
D | statistics_recorder_unittest.cc | 575 HistogramBase* custom_histogram = SparseHistogram::FactoryGet( in TEST_P()
|
D | persistent_histogram_allocator.cc | 505 SparseHistogram::PersistentCreate(this, histogram_data_ptr->name, in CreateHistogram()
|
D | persistent_memory_allocator.cc | 492 errors_histogram_ = SparseHistogram::FactoryGet( in CreateTrackingHistograms()
|