Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
6102 Discussions

GetPerformanceCounts' result is empty with AUTO plugin

aag
Novice
207 Views

Trying to profile the network ran by our code on Macosx. 

GetPerformanceCounts() produces output, as expected, when the network is loaded with "CPU" plugin. Using "AUTO" plugin results in an empty output from GetPerformanceCounts(). Did I miss some configuration that needs to be applied to the plugin?
0 Kudos
3 Replies
aag
Novice
198 Views

Looks like while CPU plugin defaults to perf tracking enabled, AUTO plugin isn't -- and has to be properly configured first.

Peh_Intel
Moderator
182 Views

Hi aag,


Thanks for reaching out to us.


Yes, KEY_PERF_COUNT is set to “NO” by default for CPU, GPU and AUTO plugins.


For CPU plugin, GetPerformanceCounts() can be used even KEY_PERF_COUNT is set to “NO”.


While for GPU and AUTO plugins, you have to change the KEY_PERF_COUNT to “YES” in order to use GetPerformanceCounts().



Regards,

Peh


Peh_Intel
Moderator
163 Views

Hi aag,


This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question. 



Regards,

Peh


Reply