HomeSort by relevance Sort by last modified time
    Searched refs:wptr_ (Results 1 - 2 of 2) sorted by null

  /external/perfetto/src/tracing/core/
trace_buffer.cc 96 wptr_ = begin();
125 TRACE_BUFFER_DLOG("CopyChunk @ %lu, size=%zu", wptr_ - begin(), record_size);
238 wptr_ = begin();
243 // At this point either |wptr_| points to an untouched part of the buffer
244 // (i.e. *wptr_ == 0) or we are about to overwrite one or more ChunkRecord(s).
262 // Deletes all chunks from |wptr_| to |wptr_| + |record_size|.
272 key, ChunkMeta(GetChunkRecordAt(wptr_), num_fragments, chunk_complete,
275 TRACE_BUFFER_DLOG(" copying @ [%lu - %lu] %zu", wptr_ - begin(),
276 uintptr_t(wptr_ - begin()) + record_size, record_size)
    [all...]
trace_buffer.h 522 // chunks from |wptr_| to |wptr_| + |bytes_to_clear|.
530 // Graphically, assume the initial situation is the following (|wptr_| = 10).
531 // |0 |10 (wptr_) |30 |40 |60
567 // record. |wptr_| is NOT advanced by this function, the caller must do that.
610 size_t size_to_end() const { return static_cast<size_t>(end() - wptr_); }
615 uint8_t* wptr_ = nullptr; // Write pointer. member in class:perfetto::TraceBuffer

Completed in 44 milliseconds