Home
last modified time | relevance | path

Searched refs:producer_id (Results 1 – 15 of 15) sorted by relevance

/external/perfetto/src/tracing/core/
Dtrace_buffer.h301 ProducerID producer_id = 0; member
339 : producer_id{p}, writer_id{w}, chunk_id{c} {} in Key()
342 : Key(cr.producer_id, cr.writer_id, cr.chunk_id) {} in Key()
348 return std::tie(producer_id, writer_id, chunk_id) <
349 std::tie(other.producer_id, other.writer_id, other.chunk_id);
353 return std::tie(producer_id, writer_id, chunk_id) ==
354 std::tie(other.producer_id, other.writer_id, other.chunk_id);
362 ProducerID producer_id; member
460 ProducerID producer_id() const { in producer_id() function
462 return cur->first.producer_id; in producer_id()
Dtrace_buffer.cc148 record.producer_id = producer_id_trusted; in CopyChunkUntrusted()
372 key.producer_id, key.writer_id, key.chunk_id, in DeleteNextChunksFor()
412 bool TraceBuffer::TryPatchChunkContents(ProducerID producer_id, in TryPatchChunkContents() argument
418 ChunkMeta::Key key(producer_id, writer_id, chunk_id); in TryPatchChunkContents()
443 producer_id, writer_id, chunk_id, chunk_end - chunk_begin, in TryPatchChunkContents()
499 std::tie(prev_it->first.producer_id, prev_it->first.writer_id) < in GetReadIterForSequence()
500 std::tie(seq_begin->first.producer_id, seq_begin->first.writer_id)); in GetReadIterForSequence()
514 auto producer_and_writer_id = std::make_pair(key.producer_id, key.writer_id); in GetReadIterForSequence()
599 const ProducerID trusted_producer_id = read_iter_.producer_id(); in ReadNextTracePacket()
741 PERFETTO_DCHECK(it.producer_id() == read_iter_.producer_id() && in ReadAhead()
Dtracing_service_impl.cc161 static int32_t EncodeCommitDataRequest(ProducerID producer_id, in EncodeCommitDataRequest() argument
172 acc |= (producer_id & mask); in EncodeCommitDataRequest()
432 if (it->second.producer_id == id) in DisconnectProducer()
863 if (GetProducer(it->second.producer_id)->name_ == in EnableTracing()
997 ProducerEndpointImpl* producer = GetProducer(it->second.producer_id); in ChangeTraceConfig()
1012 if (instance_it->first == it->second.producer_id && in ChangeTraceConfig()
1153 ProducerID producer_id = kv.first; in StartTracing() local
1155 ProducerEndpointImpl* producer = GetProducer(producer_id); in StartTracing()
1238 const ProducerID producer_id = data_source_inst.first; in DisableTracing() local
1240 ProducerEndpointImpl* producer = GetProducer(producer_id); in DisableTracing()
[all …]
Dtracing_service_impl_unittest.cc125 uid_t GetProducerUid(ProducerID producer_id) { in GetProducerUid() argument
126 return svc->GetProducer(producer_id)->uid_; in GetProducerUid()
143 const std::set<BufferID>& GetAllowedTargetBuffers(ProducerID producer_id) { in GetAllowedTargetBuffers() argument
144 return svc->GetProducer(producer_id)->allowed_target_buffers_; in GetAllowedTargetBuffers()
147 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters() argument
148 return svc->GetProducer(producer_id)->writers_; in GetWriters()
152 ProducerID producer_id) { in TakeShmemArbiterForProducer() argument
153 return std::move(svc->GetProducer(producer_id)->inproc_shmem_arbiter_); in TakeShmemArbiterForProducer()
171 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged() argument
173 auto checkpoint_name = "writers_changed_" + std::to_string(producer_id) + in WaitForTraceWritersChanged()
[all …]
Dtracing_service_impl.h329 ProducerID producer_id; member
410 PacketSequenceID GetPacketSequenceID(ProducerID producer_id, in GetPacketSequenceID()
412 auto key = std::make_pair(producer_id, writer_id); in GetPacketSequenceID()
428 ProducerID producer_id, in GetDataSourceInstance()
431 if (inst_kv.first != producer_id || in GetDataSourceInstance()
Dtrace_buffer_unittest.cc112 actual_seq << "{" << it.producer_id() << "," << it.writer_id() << "," in IteratorSeqEq()
/external/XNNPACK/src/
Dsubgraph.c309 const uint32_t producer_id = value->producer; in xnn_subgraph_rewrite_for_nchw() local
310 assert(producer_id != XNN_INVALID_NODE_ID); in xnn_subgraph_rewrite_for_nchw()
311 assert(producer_id < n); in xnn_subgraph_rewrite_for_nchw()
312 struct xnn_node* producer_node = &subgraph->nodes[producer_id]; in xnn_subgraph_rewrite_for_nchw()
358 const uint32_t producer_id = value->producer; in xnn_subgraph_rewrite_for_nchw() local
359 assert(producer_id != XNN_INVALID_NODE_ID); in xnn_subgraph_rewrite_for_nchw()
360 assert(producer_id < n); in xnn_subgraph_rewrite_for_nchw()
361 struct xnn_node* producer_node = &subgraph->nodes[producer_id]; in xnn_subgraph_rewrite_for_nchw()
544 const uint32_t producer_id = value->producer; in xnn_subgraph_optimize() local
545 if (producer_id == XNN_INVALID_NODE_ID) { in xnn_subgraph_optimize()
[all …]
/external/perfetto/src/tracing/test/
Dtracing_integration_test.cc185 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged() argument
187 auto checkpoint_name = "writers_changed_" + std::to_string(producer_id) + in WaitForTraceWritersChanged()
190 auto writers = GetWriters(producer_id); in WaitForTraceWritersChanged()
192 task = [&task, writers, writers_changed, producer_id, this]() { in WaitForTraceWritersChanged()
193 if (writers != GetWriters(producer_id)) { in WaitForTraceWritersChanged()
203 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters() argument
205 ->GetProducer(producer_id) in GetWriters()
Dfake_packet.cc107 : trace_buffer_{t}, producer_id{p}, writer_id{w}, chunk_id{c} {} in FakeChunk()
161 trace_buffer_->CopyChunkUntrusted(producer_id, uid, writer_id, chunk_id, in CopyIntoTraceBuffer()
Dfake_packet.h82 ProducerID producer_id; variable
/external/tensorflow/tensorflow/core/profiler/utils/
Dgroup_events.cc333 absl::optional<uint64> producer_id; in EventNode() local
344 producer_id = stat.IntOrUintValue(); in EventNode()
364 if (!producer_type.has_value() || !producer_id.has_value()) { in EventNode()
367 producer_id = producer_context->id; in EventNode()
378 if (producer_type.has_value() && producer_id.has_value()) { in EventNode()
379 producer_context_ = {*producer_type, *producer_id}; in EventNode()
/external/perfetto/protos/perfetto/common/
Dtracing_service_state.proto52 optional int32 producer_id = 2; field
/external/perfetto/src/perfetto_cmd/
Dperfetto_cmd.cc1030 printf(" producer_id: %d\n", ds.producer_id()); in PrintServiceState()
/external/perfetto/protos/perfetto/config/
Dperfetto_config.proto215 optional int32 producer_id = 2; field
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto215 optional int32 producer_id = 2; field