Searched refs:metadata_id (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | xplane_visitor.cc | 32 : XStatVisitor(plane, stat, plane->GetStatMetadata(stat->metadata_id()), in XStatVisitor() 33 plane->GetStatType(stat->metadata_id())) {} in XStatVisitor() 80 metadata_(plane->GetEventMetadata(event_->metadata_id())), in XEventVisitor() 81 type_(plane->GetEventType(event_->metadata_id())) {} in XEventVisitor() 94 uint64 metadata_id = event_metadata.first; in BuildEventTypeMap() local 99 auto result = event_type_by_id_.emplace(metadata_id, *event_type); in BuildEventTypeMap() 125 uint64 metadata_id = stat_metadata.first; in BuildStatTypeMap() local 130 auto result = stat_type_by_id_.emplace(metadata_id, *stat_type); in BuildStatTypeMap()
|
D | xplane_builder.cc | 53 XEventMetadata* XPlaneBuilder::GetOrCreateEventMetadata(int64 metadata_id) { in GetOrCreateEventMetadata() argument 54 XEventMetadata& metadata = (*plane_->mutable_event_metadata())[metadata_id]; in GetOrCreateEventMetadata() 55 metadata.set_id(metadata_id); in GetOrCreateEventMetadata() 82 XStatMetadata* XPlaneBuilder::GetOrCreateStatMetadata(int64 metadata_id) { in GetOrCreateStatMetadata() argument 83 XStatMetadata& metadata = (*plane_->mutable_stat_metadata())[metadata_id]; in GetOrCreateStatMetadata() 84 metadata.set_id(metadata_id); in GetOrCreateStatMetadata()
|
D | xplane_builder.h | 125 if (stat.metadata_id() == metadata.id()) { in FindOrAddStat() 176 int64 MetadataId() const { return event_->metadata_id(); } in MetadataId() 301 XEventMetadata* GetOrCreateEventMetadata(int64 metadata_id); 322 XStatMetadata* GetOrCreateStatMetadata(int64 metadata_id);
|
D | xplane_visitor.h | 46 int64 Id() const { return stat_->metadata_id(); } in Id() 107 if (stat.metadata_id() == stat_metadata.id()) { in GetStat() 150 int64 Id() const { return event_->metadata_id(); } in Id()
|
D | group_events_test.cc | 78 device_plane->lines(0).events(0).stats(1).metadata_id()), in TEST() 121 device_plane->lines(0).events(0).stats(1).metadata_id()), in TEST() 161 device_plane->lines(0).events(0).stats(1).metadata_id()), in TEST() 293 host_plane_visitor.GetStatType(eager_cpu_tf_op.stats(0).metadata_id()), in TEST() 300 device_plane_visitor.GetStatType(eager_gpu_kernel.stats(1).metadata_id()), in TEST() 346 EXPECT_EQ(host_plane_visitor.GetStatType(cpu_tf_op.stats(1).metadata_id()), in TEST() 352 EXPECT_EQ(device_plane_visitor.GetStatType(gpu_kernel.stats(2).metadata_id()), in TEST()
|
D | xplane_utils.cc | 158 if (stat.metadata_id() == stat_metadata.id()) { in FindOrAddMutableStat()
|
D | derived_timeline.cc | 112 if (last_event && last_event->MetadataId() == event.metadata_id()) { in ExpandOrAddLevelEvent()
|
D | xplane_utils_test.cc | 205 plane.event_metadata().at(event.metadata_id()); in CheckXEvent()
|
/external/tensorflow/tensorflow/core/profiler/protobuf/ |
D | xplane.proto | 41 // Each of these XStats should have a different metadata_id. 80 int64 metadata_id = 1; field 95 // Each of these XStats should have a different metadata_id. 105 int64 metadata_id = 1; field 120 // all XEvents with the same metadata_id. 135 // XStats that are constant for all XEvents with the same metadata_id. 136 // Each of these XStats should have a different metadata_id. 144 // XStats with the same metadata_id.
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | proto_trace_parser.cc | 492 auto metadata_id = storage->InternString(writer.GetStringView()); in ParseChromeEvents() local 493 context_->metadata_tracker->SetDynamicMetadata(metadata_id, value); in ParseChromeEvents()
|