Skip to content

Commit

Permalink
Enable usage of DRISHTI_PROFILING from non mediapipe namespaces.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 632533678
  • Loading branch information
MediaPipe Team authored and copybara-github committed May 10, 2024
1 parent 2959181 commit 8a2ffeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediapipe/framework/mediapipe_profiling.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8a2ffeb

Please sign in to comment.