Home
last modified time | relevance | path

Searched refs:WriterID (Results 1 – 25 of 26) sorted by relevance

12

/external/perfetto/src/tracing/core/
Dtrace_buffer_unittest.cc53 FakeChunk CreateChunk(ProducerID p, WriterID w, ChunkID c) { in CreateChunk()
65 WriterID w, in TryPatchChunkContents()
94 std::initializer_list<std::tuple<ProducerID, WriterID, ChunkID>> chunks) { in AppendChunks() argument
105 WriterID w, in IteratorSeqEq()
122 SequenceIterator GetReadIterForSequence(ProducerID p, WriterID w) { in GetReadIterForSequence()
167 CreateChunk(ProducerID(1), WriterID(1), chunk_id) in TEST_F()
188 ASSERT_EQ(32u, CreateChunk(ProducerID(i), WriterID(i), ChunkID(i)) in TEST_F()
207 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4)) in TEST_F()
210 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 1)) in TEST_F()
213 ASSERT_EQ(1024u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 2)) in TEST_F()
[all …]
Dtrace_buffer.h160 WriterID writer_id;
192 WriterID writer_id,
207 WriterID,
296 WriterID writer_id = 0;
329 Key(ProducerID p, WriterID w, ChunkID c) in Key()
354 WriterID writer_id;
456 WriterID writer_id() const { in writer_id()
639 std::map<std::pair<ProducerID, WriterID>, ChunkID> last_chunk_id_written_;
Dshared_memory_arbiter_impl.h90 void SendPatches(WriterID writer_id,
124 WriterID writer_id,
129 void ReleaseWriterID(WriterID);
140 IdAllocator<WriterID> active_writer_ids_;
Dtrace_writer_impl.h36 TraceWriterImpl(SharedMemoryArbiterImpl*, WriterID, BufferID);
42 WriterID writer_id() const override;
62 const WriterID id_;
Dshared_memory_arbiter_impl.cc155 const WriterID writer_id = chunk.writer_id(); in ReturnCompletedChunk()
160 void SharedMemoryArbiterImpl::SendPatches(WriterID writer_id, in SendPatches()
168 WriterID writer_id, in UpdateCommitDataRequest()
299 WriterID id; in CreateTraceWriter()
384 void SharedMemoryArbiterImpl::ReleaseWriterID(WriterID id) { in ReleaseWriterID()
Dtracing_service_impl.h112 base::Optional<BufferID> buffer_id_for_writer(WriterID writer_id) const { in buffer_id_for_writer()
151 std::map<WriterID, BufferID> writers_;
227 WriterID,
362 WriterID writer_id) { in GetPacketSequenceID()
442 std::map<std::pair<ProducerID, WriterID>, PacketSequenceID>
Dstartup_trace_writer.cc36 WriterID writer_id, in NewChunk()
245 WriterID StartupTraceWriter::writer_id() const { in writer_id()
301 WriterID writer_id, in CommitLocalBufferChunks()
Dshared_memory_arbiter_impl_unittest.cc142 std::map<WriterID, std::unique_ptr<TraceWriter>> writers; in TEST_P()
156 WriterID writer_id = writer->writer_id(); in TEST_P()
Dtrace_writer_impl.cc42 WriterID id, in TraceWriterImpl()
219 WriterID TraceWriterImpl::writer_id() const { in writer_id()
Dnull_trace_writer.cc52 WriterID NullTraceWriter::writer_id() const { in writer_id()
Dnull_trace_writer.h38 WriterID writer_id() const override;
Dtrace_writer_for_testing.h45 WriterID writer_id() const override;
Dtrace_writer_for_testing.cc97 WriterID TraceWriterForTesting::writer_id() const { in writer_id()
Dtrace_buffer.cc108 WriterID writer_id, in CopyChunkUntrusted()
407 WriterID writer_id, in TryPatchChunkContents()
594 const WriterID writer_id = read_iter_.writer_id(); in ReadNextTracePacket()
Dtracing_service_impl.cc1251 WriterID writer_id = chunk.writer_id(); in ScrapeSharedMemoryBuffers()
1872 WriterID writer_id, in CopyProducerPageIntoLogBuffer()
1938 const WriterID writer_id = static_cast<WriterID>(chunk.writer_id()); in ApplyChunkPatches()
2535 PERFETTO_DCHECK(!buffer_id_for_writer(static_cast<WriterID>(writer_id))); in RegisterTraceWriter()
2536 writers_[static_cast<WriterID>(writer_id)] = in RegisterTraceWriter()
2543 PERFETTO_DCHECK(buffer_id_for_writer(static_cast<WriterID>(writer_id))); in UnregisterTraceWriter()
2544 writers_.erase(static_cast<WriterID>(writer_id)); in UnregisterTraceWriter()
2578 WriterID writer_id = chunk_header.writer_id.load(std::memory_order_relaxed); in CommitData()
Dshared_memory_abi.cc126 static_assert(sizeof(ChunkHeader::writer_id) == sizeof(WriterID), in Initialize()
/external/perfetto/include/perfetto/tracing/core/
Dbasic_types.h42 using WriterID = uint16_t; variable
53 static constexpr WriterID kMaxWriterID = static_cast<WriterID>((1 << 10) - 1);
Dstartup_trace_writer.h85 WriterID writer_id() const override;
134 ChunkID CommitLocalBufferChunks(SharedMemoryArbiterImpl*, WriterID, BufferID);
Dtrace_writer.h78 virtual WriterID writer_id() const = 0;
/external/perfetto/src/tracing/test/
Dfake_packet.h54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c);
81 WriterID writer_id;
Dfake_packet.cc106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk()
Dtracing_integration_test.cc203 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters()
/external/perfetto/protos/perfetto/common/
Dcommit_data_request.proto60 // {WriterID, ChunkID} uniquely identify a chunk for the current producer.
/external/perfetto/docs/
Dlife-of-a-tracing-session.md53 `{ProducerID (unspoofable), WriterID, ChunkID}` is still present in the
Darchitecture.md109 - Is part of a reliable and ordered sequence, identified by the `WriterID`:

12