Home
last modified time | relevance | path

Searched refs:meta_ (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/metrics/
Dhistogram_samples.cc69 : meta_(&local_meta_) { in HistogramSamples()
70 meta_->id = id; in HistogramSamples()
74 : meta_(meta) { in HistogramSamples()
75 DCHECK(meta_->id == 0 || meta_->id == id); in HistogramSamples()
79 if (!meta_->id) in HistogramSamples()
80 meta_->id = id; in HistogramSamples()
87 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, in Add()
101 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, in AddFromPickle()
110 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, in Subtract()
138 subtle::NoBarrier_AtomicIncrement(&meta_->sum, diff); in IncreaseSum()
[all …]
Dhistogram_samples.h81 uint64_t id() const { return meta_->id; } in id()
84 return subtle::NoBarrier_Load(&meta_->sum); in sum()
86 return meta_->sum; in sum()
90 return subtle::NoBarrier_Load(&meta_->redundant_count); in redundant_count()
106 Metadata* meta_; variable