Searched refs:PersistentSampleMap (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_sample_map.cc | 100 PersistentSampleMap::PersistentSampleMap( in PersistentSampleMap() function in base::PersistentSampleMap 106 PersistentSampleMap::~PersistentSampleMap() { in ~PersistentSampleMap() 111 void PersistentSampleMap::Accumulate(Sample value, Count count) { in Accumulate() 133 Count PersistentSampleMap::GetCount(Sample value) const { in GetCount() 137 const_cast<PersistentSampleMap*>(this)->GetSampleCountStorage(value); in GetCount() 141 Count PersistentSampleMap::TotalCount() const { in TotalCount() 144 const_cast<PersistentSampleMap*>(this)->ImportSamples(-1, true); in TotalCount() 153 std::unique_ptr<SampleCountIterator> PersistentSampleMap::Iterator() const { in Iterator() 156 const_cast<PersistentSampleMap*>(this)->ImportSamples(-1, true); in Iterator() 162 PersistentSampleMap::GetNextPersistentRecord( in GetNextPersistentRecord() [all …]
|
D | persistent_sample_map_unittest.cc | 35 PersistentSampleMap samples(1, allocator.get(), &meta); in TEST() 52 PersistentSampleMap samples(1, allocator.get(), &meta); in TEST() 69 PersistentSampleMap samples1(1, allocator1.get(), &meta1); in TEST() 77 PersistentSampleMap samples2(2, allocator2.get(), &meta2); in TEST() 105 PersistentSampleMap samples1(12, allocator1.get(), &meta12); in TEST() 119 PersistentSampleMap samples2(12, allocator2.get(), &meta12); in TEST() 158 PersistentSampleMap samples(1, allocator.get(), &meta); in TEST() 196 PersistentSampleMap samples1(1, allocator1.get(), &meta1); in TEST() 206 PersistentSampleMap samples2(2, allocator2.get(), &meta2); in TEST() 241 PersistentSampleMap samples(1, allocator.get(), &meta); in TEST()
|
D | persistent_sample_map.h | 30 class BASE_EXPORT PersistentSampleMap : public HistogramSamples { 34 PersistentSampleMap(uint64_t id, 38 ~PersistentSampleMap() override; 104 DISALLOW_COPY_AND_ASSIGN(PersistentSampleMap);
|
D | sparse_histogram.cc | 201 new PersistentSampleMap(HashMetricName(name), allocator, meta)), in SparseHistogram() 202 logged_samples_(new PersistentSampleMap(unlogged_samples_->id() + 1, in SparseHistogram()
|
D | persistent_histogram_allocator.cc | 161 PersistentSampleMap::GetNextPersistentRecord(record_iterator_, in LoadRecords() 225 return PersistentSampleMap::CreatePersistentRecord(data_manager_->allocator_, in CreateNew()
|