/external/perfetto/src/tracing/core/ |
D | trace_buffer.h | 301 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()
|
D | trace_buffer.cc | 148 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()
|
D | tracing_service_impl.cc | 161 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 …]
|
D | tracing_service_impl_unittest.cc | 125 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 …]
|
D | tracing_service_impl.h | 329 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()
|
D | trace_buffer_unittest.cc | 112 actual_seq << "{" << it.producer_id() << "," << it.writer_id() << "," in IteratorSeqEq()
|
/external/XNNPACK/src/ |
D | subgraph.c | 309 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/ |
D | tracing_integration_test.cc | 185 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()
|
D | fake_packet.cc | 107 : 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()
|
D | fake_packet.h | 82 ProducerID producer_id; variable
|
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | group_events.cc | 333 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/ |
D | tracing_service_state.proto | 52 optional int32 producer_id = 2; field
|
/external/perfetto/src/perfetto_cmd/ |
D | perfetto_cmd.cc | 1030 printf(" producer_id: %d\n", ds.producer_id()); in PrintServiceState()
|
/external/perfetto/protos/perfetto/config/ |
D | perfetto_config.proto | 215 optional int32 producer_id = 2; field
|
/external/perfetto/protos/perfetto/trace/ |
D | perfetto_trace.proto | 215 optional int32 producer_id = 2; field
|