Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dsparse_histogram.cc26 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 …]
Dsparse_histogram_unittest.cc72 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 …]
Dsparse_histogram.h28 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);
Dhistogram_functions.cc105 HistogramBase* histogram = SparseHistogram::FactoryGet( in UmaHistogramSparse()
Dhistogram_base.cc65 return SparseHistogram::DeserializeInfoImpl(iter); in DeserializeHistogramInfo()
Dhistogram_base_unittest.cc139 HistogramBase* histogram = SparseHistogram::FactoryGet( in TEST_F()
Dpersistent_histogram_allocator_unittest.cc240 SparseHistogram::FactoryGet(SparseHistogramName, 0); in TEST_F()
Dstatistics_recorder_unittest.cc575 HistogramBase* custom_histogram = SparseHistogram::FactoryGet( in TEST_P()
Dpersistent_histogram_allocator.cc505 SparseHistogram::PersistentCreate(this, histogram_data_ptr->name, in CreateHistogram()
Dpersistent_memory_allocator.cc492 errors_histogram_ = SparseHistogram::FactoryGet( in CreateTrackingHistograms()