profile c++
来源:互联网 发布:年度十大精品网络剧 编辑:程序博客网 时间:2024/06/14 22:28
1. sudo perf top
在另外一个terminal 跑你的程序, sudo perf top 列出专用资源的情况
2. valgrind --tool=callgrind --trace-children=yes --instr-atstart=no ./src/tpcc -k 0.1 -b 1 -x occ -g co -d 20 -w 1 -z hash -o -l -c
然后用kcachegrind callgrind.out.6068 查看结果
You can see the inclusive and the self cost of each function and the location of each one. 就是说incl是这个function+其调用的其他function 一共占用的CPU,self是该function自己占用的CPU
阅读全文
1 0
- C/C++程序中的profile
- profile
- profile
- profile
- profile
- Profile
- Profile
- PROFILE
- profile
- Profile
- profile
- profile
- Profile
- profile
- profile
- Profile
- PROFILE
- C#.NET:petshop之Profile(下篇)
- 解决底部工具栏切换多个view的问题
- 理解view和page结构
- 175.n1-缓存
- 底部带标签的工具栏与视图的关联
- linux下Intellij Idea 14的安装
- profile c++
- C语言中最难分辨的概念--”数组与指针“
- 数据科学家的来历
- File文件类的用法
- Spring 方法覆盖工作原理
- 版本管理工具介绍——SVN篇(二)
- jQuery 8 关于Jquery 的scroll事件(转载)
- 开宗明义
- 往事记事1