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.
6616 討論

GetPerformanceCounts' result is empty with AUTO plugin

aag
新手
1,754 檢視

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 積分
3 回應
aag
新手
1,744 檢視

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

Peh_Intel
主席
1,728 檢視

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
主席
1,709 檢視

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


回覆