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

  /external/perfetto/src/tracing/core/
trace_buffer.h 79 // an inline header (ChunkRecord), which contains most of the fields of the
81 // It's a conventional binary object stream essentially, where each ChunkRecord
85 // | ChunkRecord: 16 bytes |
99 // | ChunkRecord |
102 // sizeof(ChunkRecord)), in order to avoid further inner fragmentation.
259 // ChunkRecord is a Chunk header stored inline in the |data_| buffer, before
262 // | ChunkRecord 1 | Chunk payload 1 || ChunkRecord 2 | Chunk payload 2 | ...
264 // Most of the ChunkRecord fields are copied from SharedMemoryABI::ChunkHeader
266 // A ChunkRecord can be a special "padding" record. In this case its payloa
    [all...]
trace_buffer.cc 61 constexpr size_t TraceBuffer::ChunkRecord::kMaxSize;
62 constexpr size_t TraceBuffer::InlineChunkHeaderSize = sizeof(ChunkRecord);
74 // See comments in ChunkRecord for the rationale of this.
75 static_assert(sizeof(ChunkRecord) == sizeof(SharedMemoryABI::PageHeader) +
77 "ChunkRecord out of sync with the layout of SharedMemoryABI");
84 base::kPageSize % sizeof(ChunkRecord) == 0,
85 "sizeof(ChunkRecord) must be an integer divider of a page size");
95 max_chunk_size_ = std::min(size, ChunkRecord::kMaxSize);
115 // |record_size| = |size| + sizeof(ChunkRecord), rounded up to avoid to end
116 // up in a fragmented state where size_to_end() < sizeof(ChunkRecord)
    [all...]
trace_buffer_unittest.cc 44 using ChunkRecord = TraceBuffer::ChunkRecord;
152 // SUM(packets) + 16 (that is sizeof(ChunkRecord)).
366 // Tests the case of writing a chunk that leaves just sizeof(ChunkRecord) at
    [all...]

Completed in 934 milliseconds