Home
last modified time | relevance | path

Searched refs:event_metadata (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h66 int64_t event_metadata) { in BeginEvent() argument
67 return BeginEvent(tag, event_type, event_metadata, /*event_metadata2*/ 0); in BeginEvent()
86 uint64_t end, int64_t event_metadata) { in AddEvent() argument
87 AddEvent(tag, event_type, start, end, event_metadata, in AddEvent()
107 int64_t event_metadata = 0)
110 event_handle_ = profiler_->BeginEvent(tag, event_type, event_metadata); in profiler_()
/external/tensorflow/tensorflow/core/profiler/utils/
Dxplane_visitor.cc93 for (const auto& event_metadata : plane->event_metadata()) { in BuildEventTypeMap() local
94 uint64 metadata_id = event_metadata.first; in BuildEventTypeMap()
95 const auto& metadata = event_metadata.second; in BuildEventTypeMap()
109 const auto& event_metadata_by_id = plane_->event_metadata(); in GetEventMetadata()
Dxplane_utils_test.cc177 XEventMetadata* event_metadata = plane->GetOrCreateEventMetadata(event_name); in CreateXEvent() local
178 if (display) event_metadata->set_display_name(std::string(*display)); in CreateXEvent()
179 XEventBuilder event = line.AddEvent(*event_metadata); in CreateXEvent()
204 const XEventMetadata& event_metadata = in CheckXEvent() local
205 plane.event_metadata().at(event.metadata_id()); in CheckXEvent()
206 EXPECT_EQ(event_metadata.name(), name); in CheckXEvent()
207 EXPECT_EQ(event_metadata.display_name(), display); in CheckXEvent()
Dtfstreamz_utils.cc87 XEventMetadata* event_metadata = in SerializeToXPlane() local
89 XEventBuilder xevent = line.AddEvent(*event_metadata); in SerializeToXPlane()
Dxplane_visitor.h309 const auto* event_metadata = plane()->GetEventMetadata(child_id); in ForEachChild() local
310 if (event_metadata != nullptr) { in ForEachChild()
311 for_each_child(XEventMetadataVisitor(plane(), event_metadata)); in ForEachChild()
Dgroup_events.cc307 for (const auto& event_metadata : plane.event_metadata()) { in CheckLoopOp() local
309 FindHostEventType(event_metadata.second.name()); in CheckLoopOp()
/external/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer.h55 int64_t event_metadata; member
85 event_buffer_[index].event_metadata = event_metadata1; in BeginEvent()
122 event_buffer_[event_index].event_metadata = *event_metadata1;
142 event_buffer_[index].event_metadata = event_metadata1; in AddEvent()
Dprofile_buffer_test.cc56 EXPECT_EQ(event->event_metadata, 42); in TEST()
79 EXPECT_EQ(event->event_metadata, kEventMetadata1); in TEST()
100 EXPECT_EQ(j, event->event_metadata); in TEST()
Dprofile_summarizer.cc141 const auto node_index = event->event_metadata; in ProcessProfiles()
165 "Delegate/" + node_name + ":" + std::to_string(event->event_metadata); in ProcessProfiles()
/external/tensorflow/tensorflow/core/profiler/protobuf/
Dxplane.proto34 map<int64, XEventMetadata> event_metadata = 4; field
123 // XPlane.event_metadata map key.
139 // XPlane.event_metadata map key for children events.
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_op_metrics_db.cc169 for (const auto& id_metadata : host_trace.event_metadata()) { in CollectTfOpsFromHostThreadsXPlane()
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_collector.cc145 XEventMetadata* event_metadata = in CreateXEvent() local
147 XEventBuilder xevent = line->AddEvent(*event_metadata); in CreateXEvent()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc379 auto op_index = profile_events[i]->event_metadata; in RunInference()