函数的计算结果类型是double,单位是秒。

要使用更精确的计时,就需要使用getCPUTickCount(),不过现代计算机CPU的频率会随着负载而变化所以没大有必要使用该函数,可以参看函数的介绍【Also, since a modern CPU varies the CPU frequency depending on the load, the number of CPU clocks spent in some code cannot be directly converted to time units. Therefore,getTickCount is generally a preferable solution for measuring execution time.】也就是使用getTickCount就足够了。

参考

1.opencv中测量运行时间的函数

最新文章

  1. C# 中参数验证方式的演变
  2. [LeetCode] Kth Largest Element in an Array 数组中第k大的数字
  3. 我的Windows Phone 8
  4. 使用VS2013分析DMP文件
  5. Linux命令行小插曲
  6. (转)每天一个Linux命令(6):mv
  7. 获取属性名:PropertyNameHelper
  8. 安装好Windows 8后必做的几件事情,让你的Win8跑的更快更流畅。
  9. Qt创建窗体的过程
  10. DM365视频处理流程/DM368 NAND Flash启动揭秘
  11. 从SAE又回到BAE,感觉好轻松
  12. Unity启动事件-监听:InitializeOnLoad
  13. php编译错误:Cannot find OpenSSL's <evp.h>
  14. extJS4.2.0 Json数据解析,嵌套及非嵌套(二)
  15. 跟我一起读postgresql源码(十二)——Executor(查询执行模块之——Materialization节点(下))
  16. DHCP的主要知识点
  17. angular部署到iis出现404解决方案
  18. 双接口(回调)promise cb
  19. [SDOI2017]天才黑客[最短路、前缀优化建图]
  20. gcc/g++多版本切换 (ubuntu18.04)

热门文章

  1. chrome的url列表里面也找不到chrome://plugins的原因
  2. Django内置模板标签
  3. MySQL函数GROUP_CONCAT() 实现多条数据合并
  4. ssh 登陆进去后, .bashrc 也没有被执行
  5. [Java学习] Java多态和动态绑定
  6. SecureCRT 7.2.0 Mac版密码无法保存的解决办法
  7. 根据条件设置poplist的值集
  8. gvim配置文件
  9. Zookeeper架构、ZAB协议、选举
  10. @Component 元注解