| 定时器主页 CPU 定时器 原始定时器 |
“我的 C++ 代码运行需要多长时间?”
Boost Timer 库可以回答这个问题,并且支持跨平台,只需一个 #include 和一行额外的代码。
Boost Timer 库有两个不同的组件集
这些 V2 组件符合 Boost 的当前实践。
<boost/timer/...> 中。boost::timer 中。这些 V1 组件已弃用。它们源于 Boost 的早期,不符合 Boost 的当前实践。
boost 中。修订2011 年 10 月 7 日
© 版权所有 Beman Dawes 2001, 2011
根据 Boost 软件许可证 V1.0 分发。请参阅 www.boost.org/LICENSE_1_0.txt