Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dsparse_histogram.cc25 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 …]
Dsparse_histogram_unittest.cc74 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 …]
Dsparse_histogram.h48 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);
Dhistogram_base_unittest.cc145 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()
Dhistogram_base.cc57 return SparseHistogram::DeserializeInfoImpl(iter); in DeserializeHistogramInfo()
Dstatistics_recorder_unittest.cc595 HistogramBase* custom_histogram = SparseHistogram::FactoryGet( in TEST_P()
Dpersistent_histogram_allocator.cc513 SparseHistogram::PersistentCreate(this, histogram_data_ptr->name, in CreateHistogram()
/external/libmojo/base/android/
Drecord_histogram.cc147 HistogramBase* SparseHistogram(JNIEnv* env, in SparseHistogram() function in base::android::__anon2abfb0450111::HistogramCache
156 histogram = SparseHistogram::FactoryGet( in SparseHistogram()
266 HistogramBase* histogram = g_histograms.Get().SparseHistogram( in RecordSparseHistogram()