c – CV_INSTRUMENT_REGION()的含义是什么?

前端之家收集整理的这篇文章主要介绍了c – CV_INSTRUMENT_REGION()的含义是什么?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在阅读opencv的源代码,我不明白这个功能
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
    pipeline

Framework 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

原文链接:https://www.f2er.com/c/118991.html

猜你在找的C&C++相关文章