Home
last modified time | relevance | path

Searched refs:name_generator (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/lib/
Dtraceme.h137 explicit TraceMe(NameGeneratorT name_generator, int level = 1) {
141 new (&no_init_.name) std::string(name_generator());
213 static int64 ActivityStart(NameGeneratorT name_generator, int level = 1) {
218 {name_generator(), GetCurrentTimeNanos(), -activity_id});
264 static void InstantActivity(NameGeneratorT name_generator, int level = 1) {
269 {name_generator(), /*start_time=*/now, /*end_time=*/now});
Dannotated_traceme.h36 explicit AnnotatedTraceMe(NameGeneratorT name_generator, int level = 1) {
41 string name = name_generator();
Dscoped_annotation.h73 explicit ScopedAnnotation(NameGeneratorT name_generator) { in ScopedAnnotation() argument
76 old_length_ = AnnotationStack::PushAnnotation(name_generator()); in ScopedAnnotation()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/platform/external/
Dcompat.h44 explicit TraceMe(NameGeneratorT name_generator, int level = 1) {}
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc912 FunctionNameGenerator name_generator( in InstantiateMultiDevice() local
929 string unique_name = name_generator.GetName(); in InstantiateMultiDevice()