Searched refs:AtomicSingleSample (Results 1 – 6 of 6) sorted by relevance
15 using AtomicSingleSample = HistogramSamples::AtomicSingleSample; typedef18 AtomicSingleSample sample; in TEST()31 AtomicSingleSample sample; in TEST()44 AtomicSingleSample sample; in TEST()58 AtomicSingleSample sample; in TEST()72 AtomicSingleSample sample; in TEST()
49 union BASE_EXPORT AtomicSingleSample { union50 AtomicSingleSample() : as_atomic(0) {} in AtomicSingleSample() function51 AtomicSingleSample(subtle::Atomic32 rhs) : as_atomic(rhs) {} in AtomicSingleSample() function121 AtomicSingleSample single_sample; // 32 bits194 AtomicSingleSample& single_sample() { return meta_->single_sample; } in single_sample()195 const AtomicSingleSample& single_sample() const { in single_sample()
78 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()
15 using AtomicSingleSample = HistogramSamples::AtomicSingleSample; typedef18 AtomicSingleSample sample; in TEST()36 AtomicSingleSample sample; in TEST()54 AtomicSingleSample sample; in TEST()69 AtomicSingleSample sample; in TEST()85 AtomicSingleSample sample; in TEST()
51 union BASE_EXPORT AtomicSingleSample { union52 AtomicSingleSample() : as_atomic(0) {} in AtomicSingleSample() function53 explicit AtomicSingleSample(subtle::Atomic32 rhs) : as_atomic(rhs) {} in AtomicSingleSample() function64 SingleSample Extract(AtomicSingleSample new_value = AtomicSingleSample(0));129 AtomicSingleSample single_sample; // 32 bits224 AtomicSingleSample& single_sample() { return meta_->single_sample; } in single_sample()225 const AtomicSingleSample& single_sample() const { in single_sample()
80 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 …]