Home
last modified time | relevance | path

Searched refs:wr_index_ (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/base/
Dmetatrace.cc35 std::atomic<uint64_t> RingBuffer::wr_index_; member in perfetto::metatrace::RingBuffer
91 wr_index_ = 0; in Reset()
99 auto wr_index = wr_index_.fetch_add(1, std::memory_order_acq_rel); in AppendNewRecord()
129 wr_index_.fetch_sub(1, std::memory_order_acq_rel); in AppendNewRecord()
/external/perfetto/include/perfetto/ext/base/
Dmetatrace.h172 PERFETTO_DCHECK(cur_ <= RingBuffer::wr_index_); in ~ReadIterator()
217 PERFETTO_DCHECK(index <= wr_index_); in At()
225 wr_index_.load(std::memory_order_acquire)); in GetReadIterator()
239 auto wr_index = wr_index_.load(std::memory_order_relaxed); in GetSizeForTesting()
254 static std::atomic<uint64_t> wr_index_; variable