Add a stub WriteProfile method to GraphProfilerStub.

PiperOrigin-RevId: 502388455
This commit is contained in:
MediaPipe Team 2023-01-16 08:35:56 -08:00 committed by Copybara-Service
parent 92a2e02ace
commit ffd8486d0d

View File

@ -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() {}