Lines Matching refs:single_sample
84 AtomicSingleSample single_sample = subtle::Acquire_Load(&as_atomic); in Load() local
87 if (single_sample.as_atomic == kDisabledSingleSample) in Load()
88 single_sample.as_atomic = 0; in Load()
90 return single_sample.as_parts; in Load()
95 AtomicSingleSample single_sample = subtle::NoBarrier_AtomicExchange( in Extract() local
97 if (single_sample.as_atomic == kDisabledSingleSample) in Extract()
98 single_sample.as_atomic = 0; in Extract()
99 return single_sample.as_parts; in Extract()
125 AtomicSingleSample single_sample; in Accumulate() local
132 single_sample.as_atomic = original; in Accumulate()
133 if (single_sample.as_atomic != 0) { in Accumulate()
136 if (single_sample.as_parts.bucket != bucket16) in Accumulate()
141 single_sample.as_parts.bucket = bucket16; in Accumulate()
145 CheckedNumeric<uint16_t> new_count(single_sample.as_parts.count); in Accumulate()
150 if (!new_count.AssignIfValid(&single_sample.as_parts.count)) in Accumulate()
154 if (single_sample.as_atomic == kDisabledSingleSample) in Accumulate()
161 &as_atomic, original, single_sample.as_atomic); in Accumulate()
238 if (single_sample().Accumulate(bucket, count)) { in AccumulateSingleSample()