Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dtrace_buffer.cc98 wptr_ = begin(); in Initialize()
127 TRACE_BUFFER_DLOG("CopyChunk @ %lu, size=%zu", wptr_ - begin(), record_size); in CopyChunkUntrusted()
244 wptr_ = begin(); in CopyChunkUntrusted()
278 key, ChunkMeta(GetChunkRecordAt(wptr_), num_fragments, chunk_complete, in CopyChunkUntrusted()
281 TRACE_BUFFER_DLOG(" copying @ [%lu - %lu] %zu", wptr_ - begin(), in CopyChunkUntrusted()
282 uintptr_t(wptr_ - begin()) + record_size, record_size); in CopyChunkUntrusted()
283 WriteChunkRecord(wptr_, record, src, size); in CopyChunkUntrusted()
284 TRACE_BUFFER_DLOG("Chunk raw: %s", HexDump(wptr_, record_size).c_str()); in CopyChunkUntrusted()
285 wptr_ += record_size; in CopyChunkUntrusted()
286 if (wptr_ >= end()) { in CopyChunkUntrusted()
[all …]
Dtrace_buffer.h619 size_t size_to_end() const { return static_cast<size_t>(end() - wptr_); } in size_to_end()
624 uint8_t* wptr_ = nullptr; // Write pointer. variable