Home
last modified time | relevance | path

Searched refs:AtomicSingleSample (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/metrics/
Dhistogram_samples_unittest.cc15 using AtomicSingleSample = HistogramSamples::AtomicSingleSample; typedef
18 AtomicSingleSample sample; in TEST()
31 AtomicSingleSample sample; in TEST()
44 AtomicSingleSample sample; in TEST()
58 AtomicSingleSample sample; in TEST()
72 AtomicSingleSample sample; in TEST()
Dhistogram_samples.h49 union BASE_EXPORT AtomicSingleSample { union
50 AtomicSingleSample() : as_atomic(0) {} in AtomicSingleSample() function
51 AtomicSingleSample(subtle::Atomic32 rhs) : as_atomic(rhs) {} in AtomicSingleSample() function
121 AtomicSingleSample single_sample; // 32 bits
194 AtomicSingleSample& single_sample() { return meta_->single_sample; } in single_sample()
195 const AtomicSingleSample& single_sample() const { in single_sample()
Dhistogram_samples.cc78 static_assert(sizeof(HistogramSamples::AtomicSingleSample) ==
82 HistogramSamples::SingleSample HistogramSamples::AtomicSingleSample::Load() in Load()
84 AtomicSingleSample single_sample = subtle::Acquire_Load(&as_atomic); in Load()
93 HistogramSamples::SingleSample HistogramSamples::AtomicSingleSample::Extract( in Extract()
95 AtomicSingleSample single_sample = subtle::NoBarrier_AtomicExchange( in Extract()
102 bool HistogramSamples::AtomicSingleSample::Accumulate( in Accumulate()
125 AtomicSingleSample single_sample; in Accumulate()
168 bool HistogramSamples::AtomicSingleSample::IsDisabled() const { in IsDisabled()
/external/cronet/base/metrics/
Dhistogram_samples_unittest.cc15 using AtomicSingleSample = HistogramSamples::AtomicSingleSample; typedef
18 AtomicSingleSample sample; in TEST()
36 AtomicSingleSample sample; in TEST()
54 AtomicSingleSample sample; in TEST()
69 AtomicSingleSample sample; in TEST()
85 AtomicSingleSample sample; in TEST()
Dhistogram_samples.h51 union BASE_EXPORT AtomicSingleSample { union
52 AtomicSingleSample() : as_atomic(0) {} in AtomicSingleSample() function
53 explicit AtomicSingleSample(subtle::Atomic32 rhs) : as_atomic(rhs) {} in AtomicSingleSample() function
64 SingleSample Extract(AtomicSingleSample new_value = AtomicSingleSample(0));
129 AtomicSingleSample single_sample; // 32 bits
224 AtomicSingleSample& single_sample() { return meta_->single_sample; } in single_sample()
225 const AtomicSingleSample& single_sample() const { in single_sample()
Dhistogram_samples.cc80 static_assert(sizeof(HistogramSamples::AtomicSingleSample) ==
84 HistogramSamples::SingleSample HistogramSamples::AtomicSingleSample::Load() in Load()
86 AtomicSingleSample single_sample(subtle::Acquire_Load(&as_atomic)); in Load()
95 HistogramSamples::SingleSample HistogramSamples::AtomicSingleSample::Extract( in Extract()
96 AtomicSingleSample new_value) { in Extract()
101 AtomicSingleSample old_value; in Extract()
130 HistogramSamples::AtomicSingleSample::ExtractAndDisable() { in ExtractAndDisable()
131 AtomicSingleSample old_value( in ExtractAndDisable()
140 bool HistogramSamples::AtomicSingleSample::Accumulate( in Accumulate()
163 AtomicSingleSample single_sample; in Accumulate()
[all …]