/external/tensorflow/tensorflow/core/profiler/utils/ |
D | group_events.cc | 57 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 …]
|
D | xplane_schema.cc | 47 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 …]
|
D | group_events_test.cc | 51 &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 …]
|
D | xplane_schema.h | 54 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()
|
D | xplane_test_utils.h | 42 HostEventType event_type, int64 offset_ps, int64 duration_ps,
|
D | xplane_test_utils.cc | 77 HostEventType event_type, int64 offset_ps, int64 duration_ps, in CreateXEvent()
|
/external/tensorflow/tensorflow/core/profiler/convert/ |
D | xplane_to_step_events_test.cc | 53 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()
|
D | xplane_to_op_stats_test.cc | 105 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()
|
D | xplane_to_tf_data_stats_test.cc | 50 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()
|
D | xplane_to_tf_data_stats.cc | 75 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()
|
D | xplane_to_trace_events.cc | 73 xevent.Type().value_or(HostEventType::kUnknownHostEventType); in ConvertXPlaneToTraceEvents()
|
D | xplane_to_memory_profile.cc | 55 return event_type == HostEventType::kMemoryAllocation; in IsMemoryAllocation() 59 return event_type == HostEventType::kMemoryDeallocation; in IsMemoryDeallocation()
|