Home
last modified time | relevance | path

Searched refs:annotation_stack (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dannotation_stack.h47 string* annotation_stack = ThreadAnnotationStack(); in PushAnnotation() local
48 size_t old_length = annotation_stack->size(); in PushAnnotation()
50 absl::StrAppend(annotation_stack, "::", name); in PushAnnotation()
52 *annotation_stack = string(name); in PushAnnotation()
58 string* annotation_stack = ThreadAnnotationStack(); in PushAnnotation() local
59 size_t old_length = annotation_stack->size(); in PushAnnotation()
61 absl::StrAppend(annotation_stack, "::", name); in PushAnnotation()
63 *annotation_stack = std::move(name); in PushAnnotation()
Dannotation_stack.cc36 static thread_local string annotation_stack; in ThreadAnnotationStack() local
37 return &annotation_stack; in ThreadAnnotationStack()
DBUILD118 name = "annotation_stack",
119 hdrs = ["annotation_stack.h"],
133 "annotation_stack.cc",
134 "annotation_stack.h",
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_collector.cc262 std::vector<Annotation> annotation_stack = in CreateXEvent() local
264 if (!annotation_stack.empty()) { in CreateXEvent()
267 *plane->GetOrCreateStatMetadata(annotation_stack.begin()->name)); in CreateXEvent()
274 for (auto annotation = annotation_stack.rbegin(); in CreateXEvent()
275 annotation != annotation_stack.rend(); ++annotation) { in CreateXEvent()
369 auto annotation_stack = ParseAnnotationStack(event.annotation); in Flush() local
372 !annotation_stack.empty() in Flush()
373 ? std::string(annotation_stack.back().name) in Flush()
DBUILD42 "//tensorflow/core/profiler/internal/cpu:annotation_stack",
132 "//tensorflow/core/profiler/internal/cpu:annotation_stack",
/external/tensorflow/tensorflow/core/profiler/utils/
Dparse_annotation.cc133 absl::string_view annotation_stack) { in ParseAnnotationStack() argument
137 annotation_stack, kAnnotationDelimiter, absl::SkipEmpty())) { in ParseAnnotationStack()
Dparse_annotation.h46 absl::string_view annotation_stack);
/external/tensorflow/tensorflow/core/profiler/lib/
DBUILD205 "//tensorflow/core/profiler/internal/cpu:annotation_stack",
219 "//tensorflow/core/profiler/internal/cpu:annotation_stack",