Timer 首页 CPU 定时器 原始定时器 |
"我的 C++ 代码需要运行多长时间?"
Boost Timer 库可以回答这个问题,并且可以移植,只需包含一个 #include 和一行额外的代码。
Boost Timer 库有两个不同的组件集
这些版本 2 组件符合当前的 Boost 实践
<boost/timer/...>
中。boost::timer
中。这些版本 1 组件已弃用。 它们源于 Boost 的早期,不符合当前的 Boost 实践
boost
中。修订2011 年 10 月 7 日
Copyright Beman Dawes 2001, 2011
根据 Boost 软件许可证 1.0 版分发。 参见 www.boost.org/LICENSE_1_0.txt