linux环境下 C++性能测试工具 gprof + kprof + gprof2dot
来源:互联网 发布:花椒刷人气软件 编辑:程序博客网 时间:2024/05/17 22:02
1.gprof
很有名了,google下很多教程
g++ -pg -g -o test test.cc
./test //会生成gmon.out
gprof ./test > prof.log
对于生成的prof.log ,wow, 很有用处的但是看起来有点累,不是吗:)
2.Kprof
sudo apt-get install kprof
kprof -f ./test //注意已经按照前面的用gprof生成 gmont.out 了。
将gprof , GUI化了,更加友好,还是很方便的,它也利用而来graphviz绘制了运行时流程图,但是对于大的程序,似乎效果不太好,流程图感觉完全乱掉了,而且对于大程序,kprof运行的有点慢,在我的破机器上跑半天才出来。总的来说它的object profile还是很方便有用的。
0 0
- linux环境下 C++性能测试工具 gprof + kprof + gprof2dot
- linux环境下 C++性能测试工具 gprof + kprof + gprof2dot
- linux环境下 C++性能测试工具 gprof + kprof + gprof2dot
- linux环境下 C++性能测试工具 gprof + kprof + gprof2dot
- linux环境下 C++性能测试工具 gprof 和gprof2dot
- linux环境下 C++ 性能测试工具 gprof 和 gprof2dot
- linux环境下,C++性能测试工具 gprof+gprof2dot 研究
- linux环境下 C++性能测试工具 gprof 和gprof2dot
- linux环境下 C++性能测试工具 gprof 和gprof2dot
- linux环境下 C++性能测试工具 gprof 和gprof2dot
- linux环境下C/C++性能测试工具 gprof 和gprof2dot
- gprof : linux性能测试工具
- Linux下gprof和oprofiling性能测试工具
- Linux下gprof和oprofiling性能测试工具
- Linux下C++ 性能测试工具GPROF()入门教程
- 让程序飞 之 性能工具:gprof & gprof2dot
- Linux性能测试工具:Oprofile, KFT, Gprof
- cygwin环境下gprof+gprof2dot+dot生成函数关系结构图
- lintcode: N-Queens
- Linux shell 之 提取文件名和目录名的一些方法
- 在WinDBG中, 使用.shell命令来搜索字符串
- html展示 pdf 利器
- 【搞机】9.7英寸iPad Pro 上手开箱(图文)
- linux环境下 C++性能测试工具 gprof + kprof + gprof2dot
- 在退出按钮上添加弹出选择对话框
- VC++的UNICODE工程和多字节字符集的HTTP请求
- Cordova官方插件 -- Vibration、Media、NativeAudio
- linux arm的存储分布
- VR头盔产品镜片评测
- Spring MVC controller间跳转 重定向 传参
- ARM寄存器介绍
- 一些关于帮助初学者分析dump的链接