没有合适的资源?快使用搜索试试~ 我知道了~
cpp-perf:用于测量 C++ 代码性能的小型头文件库
共18个文件
cpp:8个
txt:3个
yml:1个
需积分: 50 2 下载量 9 浏览量
2021-06-02
08:21:29
上传
评论
收藏 42KB ZIP 举报
温馨提示
cpp-perf 用于 C++11 的小型、仅标头的性能测量库。 最基本的用法 # include < cpp> int main () { perf::start (); std::this_thread::sleep_for ( perf::milliseconds ( 20 )); perf::stop (); return 0 ; } 输出: 20 ms 在线测量 # include < cpp> int main () { PERF_START (); std::this_thread::sleep_for ( perf::milliseconds ( 20 )); PERF_START (); for ( int i = 0 ; i < 10 ; i++) {
资源推荐
资源详情
资源评论
收起资源包目录
cpp-perf-master.zip (18个子文件)
cpp-perf-master
doc
doxygen.sh 28B
Doxyfile 101KB
CMakeLists.txt 763B
.travis.yml 751B
example
basic.cpp 1KB
inline.cpp 2KB
auto.cpp 1KB
CMakeLists.txt 306B
manual.cpp 2KB
LICENSE 1KB
test
test_format_duration.cpp 2KB
test_format_code_position.cpp 331B
test_timer.cpp 1KB
CMakeLists.txt 666B
test_functions.cpp 2KB
README.md 3KB
.gitignore 614B
include
cpp-perf.hpp 18KB
共 18 条
- 1
资源评论
基础颜究的三亩叔
- 粉丝: 23
- 资源: 4668
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功