From 8a2ffeb9b3e7a599353466260b9b493600c4a799 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Fri, 10 May 2024 10:20:45 -0700 Subject: [PATCH] Enable usage of DRISHTI_PROFILING from non mediapipe namespaces. PiperOrigin-RevId: 632533678 --- mediapipe/framework/mediapipe_profiling.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mediapipe/framework/mediapipe_profiling.h b/mediapipe/framework/mediapipe_profiling.h index 5414940824..9dbe821107 100644 --- a/mediapipe/framework/mediapipe_profiling.h +++ b/mediapipe/framework/mediapipe_profiling.h @@ -24,8 +24,8 @@ #ifdef MEDIAPIPE_PROFILER_AVAILABLE #define MEDIAPIPE_PROFILER_SCOPE_INTERNAL(event_type, calculator_context) \ - GraphProfiler::Scope graph_profiler_scope( \ - TraceEvent::event_type, calculator_context, \ + mediapipe::GraphProfiler::Scope graph_profiler_scope( \ + mediapipe::TraceEvent::event_type, calculator_context, \ calculator_context->GetProfilingContext()) #else #define MEDIAPIPE_PROFILER_SCOPE_INTERNAL(method_name, calculator_context)