From ffd8486d0dc045af18c6ab0e1c7bf732e5a9f3ca Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Mon, 16 Jan 2023 08:35:56 -0800 Subject: [PATCH] Add a stub WriteProfile method to GraphProfilerStub. PiperOrigin-RevId: 502388455 --- mediapipe/framework/profiler/graph_profiler_stub.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mediapipe/framework/profiler/graph_profiler_stub.h b/mediapipe/framework/profiler/graph_profiler_stub.h index 12a024fe8..72d5d7275 100644 --- a/mediapipe/framework/profiler/graph_profiler_stub.h +++ b/mediapipe/framework/profiler/graph_profiler_stub.h @@ -93,6 +93,7 @@ class GraphProfilerStub { PopulateGraphConfig populate_config = PopulateGraphConfig::kNo) { return absl::OkStatus(); } + inline absl::Status WriteProfile() { return absl::OkStatus(); } inline void Pause() {} inline void Resume() {} inline void Reset() {}