/external/perfetto/src/tracing/core/ |
D | trace_buffer_unittest.cc | 52 FakeChunk CreateChunk(ProducerID p, WriterID w, ChunkID c) { in CreateChunk() 65 ChunkID c, in TryPatchChunkContents() 93 std::initializer_list<std::tuple<ProducerID, WriterID, ChunkID>> chunks) { in AppendChunks() 105 std::initializer_list<ChunkID> chunk_ids) { in IteratorSeqEq() 164 for (ChunkID chunk_id = 0; chunk_id < 1000; chunk_id++) { in TEST_F() 187 ASSERT_EQ(32u, CreateChunk(ProducerID(i), WriterID(i), ChunkID(i)) in TEST_F() 206 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4)) in TEST_F() 209 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 1)) in TEST_F() 212 ASSERT_EQ(1024u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 2)) in TEST_F() 215 ASSERT_EQ(2048u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 3)) in TEST_F() [all …]
|
D | patch_list_unittest.cc | 42 pl.emplace_back(ChunkID(5), 50); in TEST() 43 ASSERT_THAT(pl, ElementsAre(Patch(ChunkID(5), 50))); in TEST() 45 pl.emplace_back(ChunkID(6), 60); in TEST() 46 ASSERT_THAT(pl, ElementsAre(Patch(ChunkID(5), 50), Patch(ChunkID(6), 60))); in TEST() 48 ASSERT_EQ(pl.front(), Patch(ChunkID(5), 50)); in TEST() 49 ASSERT_EQ(pl.back(), Patch(ChunkID(6), 60)); in TEST() 52 ASSERT_EQ(pl.front(), Patch(ChunkID(6), 60)); in TEST() 53 pl.emplace_back(ChunkID(7), 70); in TEST() 56 ASSERT_EQ(pl.front(), Patch(ChunkID(7), 70)); in TEST() 57 ASSERT_EQ(pl.back(), Patch(ChunkID(7), 70)); in TEST() [all …]
|
D | trace_buffer.h | 194 ChunkID chunk_id, 217 ChunkID, 298 ChunkID chunk_id = 0; 338 Key(ProducerID p, WriterID w, ChunkID c) in Key() 364 ChunkID chunk_id; 456 ChunkID wrapping_id; 470 ChunkID chunk_id() const { in chunk_id() 648 std::map<std::pair<ProducerID, WriterID>, ChunkID> last_chunk_id_written_;
|
D | patch_list.h | 38 Patch(ChunkID c, uint16_t o) : chunk_id(c), offset(o) {} in Patch() 41 const ChunkID chunk_id; 73 Patch* emplace_back(ChunkID chunk_id, uint16_t offset) { in emplace_back()
|
D | trace_buffer.cc | 111 ChunkID chunk_id, in CopyChunkUntrusted() 195 static_assert(std::numeric_limits<ChunkID>::max() == kMaxChunkID, in CopyChunkUntrusted() 306 ChunkID& last_chunk_id = last_chunk_id_written_[producer_and_writer_id]; in CopyChunkUntrusted() 307 static_assert(std::numeric_limits<ChunkID>::max() == kMaxChunkID, in CopyChunkUntrusted() 414 ChunkID chunk_id, in TryPatchChunkContents() 539 ChunkID last_chunk_id = cur->first.chunk_id; in MoveNext() 734 static_assert(static_cast<ChunkID>(kMaxChunkID + 1) == 0, in ReadAhead() 737 ChunkID next_chunk_id = read_iter_.chunk_id() + 1; in ReadAhead()
|
D | trace_writer_impl.h | 84 ChunkID next_chunk_id_ = 0;
|
D | trace_writer_impl.cc | 320 const ChunkID cur_chunk_id = in GetNewBuffer()
|
D | shared_memory_abi.cc | 98 static_assert(sizeof(ChunkHeader::chunk_id) == sizeof(ChunkID), in Initialize()
|
D | tracing_service_impl.h | 254 ChunkID,
|
D | tracing_service_impl.cc | 2567 ChunkID chunk_id, in CopyProducerPageIntoLogBuffer() 2631 const ChunkID chunk_id = static_cast<ChunkID>(chunk.chunk_id()); in ApplyChunkPatches() 2635 static_assert(std::numeric_limits<ChunkID>::max() == kMaxChunkID, in ApplyChunkPatches() 3655 ChunkID chunk_id = chunk_header.chunk_id.load(std::memory_order_relaxed); in CommitData()
|
/external/perfetto/include/perfetto/ext/tracing/core/ |
D | basic_types.h | 56 using ChunkID = uint32_t; variable 57 static constexpr ChunkID kMaxChunkID = static_cast<ChunkID>(-1);
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.h | 54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c); 84 ChunkID chunk_id;
|
D | fake_packet.cc | 106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk()
|
/external/perfetto/protos/perfetto/common/ |
D | commit_data_request.proto | 59 // {WriterID, ChunkID} uniquely identify a chunk for the current producer.
|
/external/perfetto/docs/design-docs/ |
D | life-of-a-tracing-session.md | 53 `{ProducerID (unspoofable), WriterID, ChunkID}` is still present in the
|