Lines Matching defs:counter
112 // The number of bits in the wrapped counter.
113 // It important that this counter not wrap (well, technically it can,
116 // The current values allow for a 20 bit counter which is plenty.
118 // offset_plus_counter value is printed in hex the counter is easily read.
174 static uint64_t MakeOffsetPlusCounter(uintptr_t offset, uint32_t counter) {
175 return offset | (static_cast<uint64_t>(counter) << kWrappedCounterShift);
237 // The generation counter associated with this context to distinguish
279 // plus a wrapped counter. These are combined into one so that they can
283 // the wrapped counter. Bit zero of this counter is the number of the
284 // buffer currently being written to. The counter is used in part for