Home
last modified time | relevance | path

Searched refs:HostEventType (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/utils/
Dgroup_events.cc57 return is_host_plane ? HostEventType::kKernelLaunch in GetKernelEventType()
58 : HostEventType::kKernelExecute; in GetKernelEventType()
77 return HostEventType::kBatchingSessionRun; in GetEventType()
79 return HostEventType::kProcessBatch; in GetEventType()
81 return HostEventType::kUnknownHostEventType; in GetEventType()
121 if (child->GetEventVisitor().Type() == HostEventType::kFunctionRun) { in HasFunctionRun()
130 HostEventType::kFunctionRun, HostEventType::kSessionRun, in IsImplicitRootEvent()
131 HostEventType::kRunGraph, HostEventType::kExecutorStateProcess}; in IsImplicitRootEvent()
157 return event_node.FindParent(HostEventType::kTfDataCapturedFunctionRun) || in IsTfDataEvent()
159 HostEventType::kTfDataCapturedFunctionRunAsync) || in IsTfDataEvent()
[all …]
Dxplane_schema.cc47 HostEventType::kLastHostEventType - HostEventType::kFirstHostEventType + 1;
52 using HostEventTypeMap = absl::flat_hash_map<absl::string_view, HostEventType>;
54 absl::flat_hash_map<HostEventType, absl::string_view>;
243 absl::string_view GetHostEventTypeStr(HostEventType event_type) { in GetHostEventTypeStr()
259 return HostEventType::kTfOpRun; in FindTfOpEventType()
261 return HostEventType::kIterator; in FindTfOpEventType()
282 case HostEventType::kMemoryAllocation: in IsInternalEvent()
283 case HostEventType::kMemoryDeallocation: in IsInternalEvent()
284 case HostEventType::kPrefetchProduce: in IsInternalEvent()
285 case HostEventType::kPrefetchConsume: in IsInternalEvent()
[all …]
Dgroup_events_test.cc51 &host_plane_builder, &main_thread, HostEventType::kTraceContext, 0, 100, in TEST()
53 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
58 HostEventType::kExecutorStateProcess, 20, 80, in TEST()
96 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
101 HostEventType::kExecutorStateProcess, 20, 80, in TEST()
138 HostEventType::kExecutorStateProcess, 5, 10, in TEST()
141 HostEventType::kExecutorStateProcess, 20, 80, in TEST()
186 HostEventType::kExecutorStateProcess, 220, 80, in TEST()
190 HostEventType::kExecutorStateProcess, 320, 80, in TEST()
195 HostEventType::kExecutorStateProcess, 20, 80, in TEST()
[all …]
Dxplane_schema.h54 enum HostEventType { enum
223 absl::string_view GetHostEventTypeStr(HostEventType event_type);
225 bool IsHostEventType(HostEventType event_type, absl::string_view event_name);
227 inline bool IsHostEventType(HostEventType event_type, in IsHostEventType()
Dxplane_test_utils.h42 HostEventType event_type, int64 offset_ps, int64 duration_ps,
Dxplane_test_utils.cc77 HostEventType event_type, int64 offset_ps, int64 duration_ps, in CreateXEvent()
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_step_events_test.cc53 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
55 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
57 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
59 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
64 HostEventType::kExecutorStateProcess, 20, 20, in TEST()
69 HostEventType::kExecutorStateProcess, 320, 20, in TEST()
Dxplane_to_op_stats_test.cc105 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
107 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
112 HostEventType::kExecutorStateProcess, 20, 80, in TEST()
136 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in TEST()
138 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in TEST()
143 HostEventType::kExecutorStateProcess, 20, 20, in TEST()
205 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kTraceContext, in BuildAndStoreXSpaceForTest()
207 CreateXEvent(&host_plane_builder, &main_thread, HostEventType::kFunctionRun, in BuildAndStoreXSpaceForTest()
212 HostEventType::kExecutorStateProcess, 20, 80, in BuildAndStoreXSpaceForTest()
Dxplane_to_tf_data_stats_test.cc50 HostEventType::kPrefetchConsume, 80000000, 20000000, in TEST()
55 HostEventType::kPrefetchConsume, 210000000, 10000000, in TEST()
61 HostEventType::kPrefetchProduce, 0, 80000000, in TEST()
69 HostEventType::kPrefetchProduce, 100000000, 80000000, in TEST()
Dxplane_to_tf_data_stats.cc75 if (event.Type() == HostEventType::kDeviceInputPipelineSecondIterator) { in FindDeviceInputPipeline()
93 gtl::FindOrNull(event_node_map, HostEventType::kIterator); in ProcessEventForest()
114 event_node_map, HostEventType::kDeviceInputPipelineSecondIterator); in ProcessEventForest()
Dxplane_to_trace_events.cc73 xevent.Type().value_or(HostEventType::kUnknownHostEventType); in ConvertXPlaneToTraceEvents()
Dxplane_to_memory_profile.cc55 return event_type == HostEventType::kMemoryAllocation; in IsMemoryAllocation()
59 return event_type == HostEventType::kMemoryDeallocation; in IsMemoryDeallocation()