有没有办法在 openCV 中禁用 TBB? [英] Is there a way to disable TBB in openCV?
本文介绍了有没有办法在 openCV 中禁用 TBB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的 C 代码(使用 openCV)似乎使用了 TBB,我想比较性能与不使用 TBB 的那个.
The C-code(using openCV) I have seems to use TBB and I want to compare the performance with the one that does not use TBB.
有没有办法禁用 TBB?
Is there a way to disable TBB?
推荐答案
尝试 setNumThreads(0)
,或者要获得更彻底的解决方案,请尝试按照 此处.
这篇关于有没有办法在 openCV 中禁用 TBB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文