Internal change for profiling
PiperOrigin-RevId: 494135244
This commit is contained in:
parent
3aeec84ac0
commit
4c4df2cf18
|
@ -232,6 +232,11 @@ class GraphProfiler : public std::enable_shared_from_this<ProfilingContext> {
|
||||||
|
|
||||||
const ProfilerConfig& profiler_config() { return profiler_config_; }
|
const ProfilerConfig& profiler_config() { return profiler_config_; }
|
||||||
|
|
||||||
|
// Helper method to expose the config to other profilers.
|
||||||
|
const ValidatedGraphConfig* GetValidatedGraphConfig() {
|
||||||
|
return validated_graph_;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// This can be used to add packet info for the input streams to the graph.
|
// 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
|
// It treats the stream defined by |stream_name| as a stream produced by a
|
||||||
|
|
Loading…
Reference in New Issue
Block a user