gperftools使用
来源:互联网 发布:修改博客数据库 编辑:程序博客网 时间:2024/05/12 16:45
4 使用流程
1. 在编译和链接时 加上-pg选项。一般我们可以加在 makefile 中。
2. 执行编译的二进制程序。执行参数和方式同以前。
3. 在程序运行目录下 生成 gmon.out 文件。如果原来有gmon.out 文件,将会被重写。
4. 结束进程。这时 gmon.out 会再次被刷新。
5. 用 gprof 工具分析 gmon.out 文件。
用户手册地址:http://sourceware.org/binutils/docs-2.17/gprof/index.html
g++ -o gperf_test gperf_test.cpp -pg -g
gprof -b ./gperf_test gmon.out
http://blog.csdn.net/stanjiang2010/article/details/5655143
0 0
- gperftools使用
- gperftools使用
- gperftools -- heapcheck 使用
- gperftools heap check使用
- gperftools编译与使用
- gperftools工具的使用
- gperftools的使用
- gperftools
- gperftools
- gperftools分析cpu使用情况
- Gperftools中tcmalloc的简介和使用
- Gperftools中tcmalloc的简介和使用
- Gperftools中tcmalloc的简介和使用
- Google performance Tools (gperftools) 使用心得
- 内存泄漏调试-gperftools heapcheck 使用
- gcc下使用tcmalloc(gperftools)2.4的注意事项
- 关于gperftools
- 关于gperftools
- javascript操作cookie
- 3G 价格4G享受
- Android输入法框架系统(下)
- android EditText 限制输入大小写,大写转小写
- POJ 1325Machine Schedule(二分图最大匹配最小点覆盖)
- gperftools使用
- 那些年我也努力过
- 尝试加载 Oracle 客户端库时引发 BadImageFormatException。如果在安装 32 位 Oracle 客户端组件的情况下以 64 位模式运行,将出现此问题
- objective-c属性@synthesize-=_obj的意义
- CentOS下火狐浏览器安装flash插件以及中文输入法
- Servlet学习笔记
- onvif规范的实现:成功实现ONVIF协议RTSP-Video-Stream与OnvifDeviceManager的视频对接
- 大话设计模式之简单工厂模式&工厂方法模式&抽象工厂模式
- HBase中LeaseException及ClosedChannelException解决办法