Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6392 Discussions

GetPerformanceCounts' result is empty with AUTO plugin

aag
Novice
420 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
411 Views

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

0 Kudos
Peh_Intel
Moderator
395 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


0 Kudos
Peh_Intel
Moderator
376 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


0 Kudos
Reply