我正在阅读opencv的源代码,我不明白这个功能
CV_INSTRUMENT_REGION()由其他函数调用. CV_INSTRUMENT_REGION()函数通常出现在另一个函数体的开头.有人可以帮忙吗?谢谢.
CV_INSTRUMENT_REGION()由其他函数调用. CV_INSTRUMENT_REGION()函数通常出现在另一个函数体的开头.有人可以帮忙吗?谢谢.
解决方法
您可以查看相应的拉取请求以获取更多信息:
Implementations instrumentation framework for OpenCV performance test system.
Instrumentation framework for OpenCV performance test system. It was
developed to:
- track implementations execution inside OpenCV functions with call tree
output to test logs- track implementations execution time weight in the
pipelineFramework can be enabled with ENABLE_INSTRUMENTATION define
in CMake and disabled by default. In disabled state it doesn’t consume
resources.
更新:
OpenCV 3.3为用户添加了跟踪/分析OpenCV应用程序的支持.有关更多信息,请参阅
>相应的拉取请求:Code tracing support #8766
>维基页面:Profiling OpenCV Applications
>示例代码application_trace.cpp