Home
last modified time | relevance | path

Searched refs:sample_counts_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/metrics/
Dsample_map.cc89 sample_counts_[value] += count; in Accumulate()
94 std::map<Sample, Count>::const_iterator it = sample_counts_.find(value); in GetCount()
95 if (it == sample_counts_.end()) in GetCount()
102 for (const auto& entry : sample_counts_) { in TotalCount()
109 return WrapUnique(new SampleMapIterator(sample_counts_)); in Iterator()
121 sample_counts_[min] += (op == HistogramSamples::ADD) ? count : -count; in AddSubtractImpl()
Dpersistent_sample_map.cc147 for (const auto& entry : sample_counts_) { in TotalCount()
157 return WrapUnique(new PersistentSampleMapIterator(sample_counts_)); in Iterator()
214 auto it = sample_counts_.find(value); in GetSampleCountStorage()
215 if (it != sample_counts_.end()) in GetSampleCountStorage()
238 sample_counts_[value] = count_pointer; in GetOrCreateSampleCountStorage()
280 if (!ContainsKey(sample_counts_, record->value)) { in ImportSamples()
282 sample_counts_[record->value] = &record->count; in ImportSamples()
Dsample_map.h43 std::map<HistogramBase::Sample, HistogramBase::Count> sample_counts_;
Dpersistent_sample_map.h92 std::map<HistogramBase::Sample, HistogramBase::Count*> sample_counts_; variable