src/docs/performance_analysis_ITT_counters.md
OpenVINO has a powerful capabilities for performance analysis of the key stages, such as read time and load time. Most of the modules and features have been tagged with Intel ITT counters, which allows us to measure the performance of these components.
For performance analysis, follow the steps below:
Run the CMake tool with the following option: -DENABLE_PROFILING_ITT=FULL and build OpenVINO.
Choose the tool for statistics collection using ITT counters.
Run an OpenVINO project with the performance analysis tool.
vtune -collect hotspots -k sampling-mode=hw -k enable-stack-collection=true -k stack-size=0 -k sampling-interval=0.5 -- ./benchmark_app -nthreads=1 -api sync -niter 1 -nireq 1 -m ./resnet-50-pytorch/resnet-50-pytorch.xml
r000hs
Generated file can be opened with Vtune client.
Use API defined in openvino/itt module.