Searched refs:as_atomic (Results 1 – 2 of 2) sorted by relevance
84 AtomicSingleSample single_sample = subtle::Acquire_Load(&as_atomic); in Load()87 if (single_sample.as_atomic == kDisabledSingleSample) in Load()88 single_sample.as_atomic = 0; in Load()96 &as_atomic, disable ? kDisabledSingleSample : 0); in Extract()97 if (single_sample.as_atomic == kDisabledSingleSample) in Extract()98 single_sample.as_atomic = 0; in Extract()129 subtle::Atomic32 original = subtle::Acquire_Load(&as_atomic); in Accumulate()132 single_sample.as_atomic = original; in Accumulate()133 if (single_sample.as_atomic != 0) { in Accumulate()154 if (single_sample.as_atomic == kDisabledSingleSample) in Accumulate()[all …]
50 AtomicSingleSample() : as_atomic(0) {} in AtomicSingleSample()51 AtomicSingleSample(subtle::Atomic32 rhs) : as_atomic(rhs) {} in AtomicSingleSample()80 subtle::Atomic32 as_atomic; member