Project import generated by Copybara.
GitOrigin-RevId: b2062656e5b3d33264e28ed0cbca31c4b93fe1bf
This commit is contained in:
@@ -33,13 +33,12 @@ command line option: `--define MEDIAPIPE_PROFILING=0`.
|
||||
To enable tracing and profiling, the `CalculatorGraphConfig` (in
|
||||
[calculator.proto](https://github.com/google/mediapipe/tree/master/mediapipe/framework/calculator.proto))
|
||||
representing the graph must have a `profiler_config` message at its root. Here
|
||||
is a simple setup that turns on a few extra options:
|
||||
is a simple setup that turns on tracing and keeps 100 seconds of timing events:
|
||||
|
||||
```
|
||||
profiler_config {
|
||||
enable_profiler: true
|
||||
trace_enabled: true
|
||||
trace_log_count: 5
|
||||
trace_log_interval_count: 200
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user