Searched refs:trace_collector (Results 1 – 3 of 3) sorted by relevance
197 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(
32 std::atomic<const TraceCollector*> trace_collector; variable76 return trace_collector.store(collector, std::memory_order_release); in SetTraceCollector()80 return trace_collector.load(std::memory_order_acquire); in GetTraceCollector()
1599 auto* trace_collector = tracing::GetTraceCollector(); in MightTrace() local1600 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() local2089 if (TF_PREDICT_FALSE(trace_collector != nullptr && in PropagateOutputs()2090 trace_collector->IsEnabledForActivities( in PropagateOutputs()2095 return trace_collector->CreateActivityHandle( in PropagateOutputs()