Internal change for profiling

PiperOrigin-RevId: 494135244
This commit is contained in:
MediaPipe Team
2022-12-09 04:13:02 -08:00
committed by Copybara-Service
parent 3aeec84ac0
commit 4c4df2cf18
@@ -232,6 +232,11 @@ class GraphProfiler : public std::enable_shared_from_this<ProfilingContext> {
const ProfilerConfig& profiler_config() { return profiler_config_; }
// Helper method to expose the config to other profilers.
const ValidatedGraphConfig* GetValidatedGraphConfig() {
return validated_graph_;
}
private:
// This can be used to add packet info for the input streams to the graph.
// It treats the stream defined by |stream_name| as a stream produced by a