I'm working in C API on OpenVINO and i'm looking for the information about clock CPU of each layer of my CNN like the option "-report_type detailed_counter" in benchmark tool in C++.
I imagine that it's directly linked to the PERF_COUNT option in the executable etwork config ut i have no idea how to get it.
You may use the Benchmark Application (available both in C++ and Python) for that performance counter purpose.
The -pc option is an Optionalcommand to Report performance counters.
I'm not looking to use the C++ benchmark tool but to write a code with the OpenVINO C API to get the same information as the -pc option on CPU.
I have to use this code on a machine that does not have all the C++ libraries.
It is possible ?
Unfortunately, currently, we don't have much of that functionality supported in C++.
However, we do have it in Python API: https://docs.openvinotoolkit.org/latest/ie_python_api/classie__api_1_1InferRequest.html#a2194bc8c557...