Skip to content

Commit

Permalink
[CPU][DOC][DEBUG_CAPS] Add examples right into a readme file (openvin…
Browse files Browse the repository at this point in the history
…otoolkit#26073)

To have a kind of cheat sheet in a single place
  • Loading branch information
EgorDuplensky authored Aug 16, 2024
1 parent d3f8efa commit e7e6d8b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
26 changes: 17 additions & 9 deletions src/plugins/intel_cpu/docs/debug_capabilities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ Use the following cmake option to enable debug capabilities:

`-DENABLE_DEBUG_CAPS=ON`

* [Verbose mode](verbose.md)
* [Blob dumping](blob_dumping.md)
* [Graph serialization](graph_serialization.md)
* [Graph transformation disabling](feature_disabling.md#graph-transformations)
* [Logging](logging.md)
* [Inference Precision](infer_prc.md)
* Performance summary
* set `OV_CPU_SUMMARY_PERF` environment variable to display performance summary at the time when model is being destructed.
* Internal performance counter will be enabled automatically.
* [Verbose mode](verbose.md)
`OV_CPU_VERBOSE=1`
* [Blob dumping](blob_dumping.md)
`OV_CPU_BLOB_DUMP_NODE_NAME="*" OV_CPU_BLOB_DUMP_DIR=blob_dump`
* [Graph serialization](graph_serialization.md)
`OV_CPU_EXEC_GRAPH_PATH=graph.xml`
`OV_CPU_DUMP_IR="transformations dir=path/dumpdir formats=svg,xml,dot"`
* [Graph transformation disabling](feature_disabling.md#graph-transformations)
`OV_CPU_DISABLE="transformations=common,preLpt,lpt,postLpt,snippets,specific"`
* [Logging](logging.md)
`OV_CPU_DEBUG_LOG=-`
* [Inference Precision](infer_prc.md)
`OV_CPU_INFER_PRC_POS_PATTERN="^FullyConnected@"`
* Performance summary
`OV_CPU_SUMMARY_PERF=1`
Set the environment variable to display performance summary at the time when model is being destructed.
Internal performance counter will be enabled automatically.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Examples:
```sh
OV_CPU_DUMP_IR="transformations" binary ...
OV_CPU_DUMP_IR="transformations=snippets dir=path/dumpDir" binary ...
OV_CPU_DUMP_IR="transformations=all,-common DIR=path/dumpdir formats=svg,xml" binary ...
OV_CPU_DUMP_IR="transformations=all,-common dir=path/dumpdir formats=svg,xml" binary ...
```

Option names are case insensitive, the following options are supported:
Expand Down

0 comments on commit e7e6d8b

Please sign in to comment.