You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CPU] Add dumping of the memory statistcs (#28441)
### Details:
Add yet another debug capability: dumping the following memory
statistics:
1. Memory statistics for specific memory managers: Type of the manager,
number of memory regions, number of unique memory blocks, total memory
size, theoretically optimal total memory size, the size of the largest
memory region
2. The size of memory allocated for scratchpads
3. Weight cache statistics per socket: Total size, the number of memory
objects
Standard output and `*.csv` file dump are supported
### ToDo:
- [x] Add corresponding documentation
### Tickets:
- *ticket-id*
Copy file name to clipboardexpand all lines: src/plugins/intel_cpu/docs/debug_capabilities/README.md
+5
Original file line number
Diff line number
Diff line change
@@ -26,3 +26,8 @@ Use the following cmake option to enable debug capabilities:
26
26
Internal performance counter will be enabled automatically.
27
27
*[Average counters](average_counters.md)
28
28
`OV_CPU_AVERAGE_COUNTERS=filename`
29
+
* Memory statistics
30
+
`OV_CPU_MEMORY_STATISTICS_PATH=cout`
31
+
Set this environment variable to dump memory usage statistics to the standard output when the compiled model is destructed.
32
+
`OV_CPU_MEMORY_STATISTICS_PATH=<file_path>.csv`
33
+
Set this environment variable to dump memory usage statistics to *.csv files. The `file_path` will be enhanced with the name of each compiled model: `file_path_<model_name>.csv`.
0 commit comments