Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dtrace_writer_impl.cc57 if (cur_chunk_.is_valid()) { in ~TraceWriterImpl()
68 if (cur_chunk_.is_valid()) { in Flush()
69 shmem_arbiter_->ReturnCompletedChunk(std::move(cur_chunk_), target_buffer_, in Flush()
114 uint16_t new_packet_count = cur_chunk_.IncrementPacketCount(); in NewTracePacket()
136 PERFETTO_DCHECK(partial_size < cur_chunk_.size()); in GetNewBuffer()
141 cur_chunk_.SetFlag(ChunkHeader::kLastPacketContinuesOnNextChunk); in GetNewBuffer()
156 cur_hdr >= cur_chunk_.payload_begin() && in GetNewBuffer()
157 cur_hdr + kMessageLengthFieldSize <= cur_chunk_.end(); in GetNewBuffer()
161 static_cast<uint16_t>(cur_hdr - cur_chunk_.payload_begin()); in GetNewBuffer()
163 cur_chunk_.header()->chunk_id.load(std::memory_order_relaxed); in GetNewBuffer()
[all …]
Dtrace_writer_impl.h48 void ResetChunkForTesting() { cur_chunk_ = SharedMemoryABI::Chunk(); } in ResetChunkForTesting()
73 SharedMemoryABI::Chunk cur_chunk_; variable