Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dtrace_buffer.cc96 wptr_ = begin(); in Initialize()
125 TRACE_BUFFER_DLOG("CopyChunk @ %lu, size=%zu", wptr_ - begin(), record_size); in CopyChunkUntrusted()
238 wptr_ = begin(); in CopyChunkUntrusted()
272 key, ChunkMeta(GetChunkRecordAt(wptr_), num_fragments, chunk_complete, in CopyChunkUntrusted()
275 TRACE_BUFFER_DLOG(" copying @ [%lu - %lu] %zu", wptr_ - begin(), in CopyChunkUntrusted()
276 uintptr_t(wptr_ - begin()) + record_size, record_size); in CopyChunkUntrusted()
277 WriteChunkRecord(wptr_, record, src, size); in CopyChunkUntrusted()
278 TRACE_BUFFER_DLOG("Chunk raw: %s", HexDump(wptr_, record_size).c_str()); in CopyChunkUntrusted()
279 wptr_ += record_size; in CopyChunkUntrusted()
280 if (wptr_ >= end()) { in CopyChunkUntrusted()
[all …]
Dtrace_buffer.h610 size_t size_to_end() const { return static_cast<size_t>(end() - wptr_); } in size_to_end()
615 uint8_t* wptr_ = nullptr; // Write pointer. variable