Home
last modified time | relevance | path

Searched refs:trace_collector (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dtracing.h197 auto trace_collector = GetTraceCollector(); in ScopedAnnotation()
198 return trace_collector ? trace_collector->CreateAnnotationHandle( in ScopedAnnotation()
224 auto trace_collector = GetTraceCollector();
225 return trace_collector ? trace_collector->CreateActivityHandle(
Dtracing.cc32 std::atomic<const TraceCollector*> trace_collector; variable
76 return trace_collector.store(collector, std::memory_order_release); in SetTraceCollector()
80 return trace_collector.load(std::memory_order_acquire); in GetTraceCollector()
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc1599 auto* trace_collector = tracing::GetTraceCollector(); in MightTrace() local
1600 if (trace_collector) { in MightTrace()
1602 return trace_collector->IsEnabledForAnnotations(); in MightTrace()
1604 return trace_collector->IsEnabledForActivities( in MightTrace()
2088 auto* trace_collector = tracing::GetTraceCollector(); in PropagateOutputs() local
2089 if (TF_PREDICT_FALSE(trace_collector != nullptr && in PropagateOutputs()
2090 trace_collector->IsEnabledForActivities( in PropagateOutputs()
2095 return trace_collector->CreateActivityHandle( in PropagateOutputs()