Home
last modified time | relevance | path

Searched refs:line_id (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/utils/
Dderived_timeline_test.cc156 int64 line_id = line_visitor.Id(); in TEST() local
157 if (line_id == 0) { in TEST()
159 } else if (line_id == kThreadIdTfNameScope) { in TEST()
165 } else if (line_id == kThreadIdTfOp) { in TEST()
Dxplane_builder.cc110 XLineBuilder XPlaneBuilder::GetOrCreateLine(int64 line_id) { in GetOrCreateLine() argument
111 XLine*& line = lines_by_id_[line_id]; in GetOrCreateLine()
114 line->set_id(line_id); in GetOrCreateLine()
Dderived_timeline.h35 DerivedXLineBuilder(XPlaneBuilder* plane, int64 line_id,
Dderived_timeline.cc96 XPlaneBuilder* plane, int64 line_id, absl::string_view name, in DerivedXLineBuilder() argument
98 : line_(plane->GetOrCreateLine(line_id)) { in DerivedXLineBuilder()
Dxplane_builder.h291 XLineBuilder GetOrCreateLine(int64 line_id);
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_collector.cc39 bool IsHostEvent(const CuptiTracerEvent& event, int64* line_id) { in IsHostEvent() argument
42 *line_id = event.thread_id; in IsHostEvent()
47 *line_id = event.stream_id; in IsHostEvent()
54 *line_id = event.stream_id; in IsHostEvent()
58 *line_id = event.thread_id; in IsHostEvent()
61 *line_id = kThreadIdOverhead; in IsHostEvent()
457 int64 line_id = CuptiTracerEvent::kInvalidThreadId; in Flush() local
458 bool is_host_event = IsHostEvent(event, &line_id); in Flush()
459 if (line_id == CuptiTracerEvent::kInvalidThreadId || in Flush()
460 line_id == CuptiTracerEvent::kInvalidStreamId) { in Flush()
[all …]
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_step_events.cc208 int64 line_id = line.Id(); in ConvertDeviceTraceXPlaneToStepEvents() local
209 if (line_id == kThreadIdStepInfo) { in ConvertDeviceTraceXPlaneToStepEvents()
211 } else if (IsDerivedThreadId(line_id)) { in ConvertDeviceTraceXPlaneToStepEvents()
/external/tensorflow/tensorflow/core/profiler/
Dtfprof_log.proto21 string line = 4 [deprecated = true]; // deprecated line_id.
22 int64 line_id = 8; field
/external/tensorflow/tensorflow/python/debug/lib/
Dsource_remote.py69 line_id=_string_to_id(line_text, string_to_id))
/external/tensorflow/tensorflow/python/profiler/
Dtfprof_logger.py121 trace.line_id = _str_id(tb[3], string_to_id) if tb[3] else 0