Home
last modified time | relevance | path

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

/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.cc198 const uint64_t size_with_header = in BeginWrite() local
202 if (PERFETTO_UNLIKELY(size_with_header < size)) { in BeginWrite()
207 if (size_with_header > write_avail(pos)) { in BeginWrite()
229 meta_->write_pos.fetch_add(size_with_header, std::memory_order_release); in BeginWrite()
274 const size_t size_with_header = base::AlignUp<kAlignment>(size + kHeaderSize); in BeginRead() local
276 if (size_with_header > avail_read) { in BeginRead()
294 size_t size_with_header = base::AlignUp<kAlignment>(buf.size + kHeaderSize); in EndRead() local
295 meta_->read_pos.fetch_add(size_with_header, std::memory_order_relaxed); in EndRead()