Searched refs:ChunkMeta (Results 1 – 3 of 3) sorted by relevance
/external/perfetto/src/tracing/core/ |
D | trace_buffer.cc | 170 ChunkMeta::Key key(record); in CopyChunkUntrusted() 174 index_.emplace(key, ChunkMeta(GetChunkRecordAt(wptr_), num_fragments, in CopyChunkUntrusted() 181 index_.emplace(key, ChunkMeta(GetChunkRecordAt(wptr_), num_fragments, in CopyChunkUntrusted() 232 ChunkMeta::Key key(next_chunk); in DeleteNextChunksFor() 236 const ChunkMeta& meta = it->second; in DeleteNextChunksFor() 278 ChunkMeta::Key key(producer_id, writer_id, chunk_id); in TryPatchChunkContents() 284 ChunkMeta& chunk_meta = it->second; in TryPatchChunkContents() 288 PERFETTO_DCHECK(ChunkMeta::Key(*chunk_meta.chunk_record) == key); in TryPatchChunkContents() 366 ChunkMeta::Key key = seq_begin->first; // Deliberate copy. in GetReadIterForSequence() 424 ChunkMeta* chunk_meta = &*read_iter_; in ReadNextTracePacket() [all …]
|
D | trace_buffer.h | 294 struct ChunkMeta { struct 324 ChunkMeta(ChunkRecord* c, uint16_t p, uint8_t f, uid_t u) in ChunkMeta() argument 340 using ChunkMap = std::map<ChunkMeta::Key, ChunkMeta>; argument 385 ChunkMeta& operator*() { 455 bool ReadNextPacketInChunk(ChunkMeta*, TracePacket*);
|
D | trace_buffer_unittest.cc | 43 using ChunkMetaKey = TraceBuffer::ChunkMeta::Key; 112 TraceBuffer::ChunkMeta::Key key(p, w, 0); in GetReadIterForSequence()
|