GNU Profiling
来源:互联网 发布:java dubbo 分布式事务 编辑:程序博客网 时间:2024/05/29 12:23
1. 编译和链接的时候,都必须添加 -pg 参数;
2. 程序必须正常结束,如从 main 中 return 或者 exit(0),对于 Apache 或者 Nginx 等存在守护进程的程序,Ctrl + C 也 OK,所以,不要后台运行;
3. 如果程序运行的次数不多,时间统计可能都为 0,这与统计精度有关,增加运行次数和时间即可;
4. gmon.out 生成于程序的当前目录;
gprof executable-file profile-data-file
- GNU Profiling
- GNU Profiling
- GPROF Tutorial – How to use Linux GNU GCC Profiling Tool
- dynamic profiling
- GPU Profiling
- Java Profiling
- MySQL Profiling
- go profiling
- code profiling
- Performance & Profiling
- profiling tools
- GNU
- GNU
- GNU
- GNU
- GNU
- GNU
- GNU
- 编程珠玑 第九章 第7题 获取一个字节序列中1的个数
- 模板函数 链接错误
- 雅虎痛失虎将:“临时CEO”和媒体销售副总裁双双辞去!
- VNC连接Suse
- 如何新建hibernate项目
- GNU Profiling
- jQuery ajax 说明
- 在Word文档中迭代CustomXmlDocument
- phpt文件说明
- 免费收录网站的搜索引擎登录口大全
- 关于遍历指定视图上显示对象的几个问答
- 如何【在window系统中配置免安装版MYSQL数据库】
- mysql 如何查看哪些表数据量比较大
- 一个游戏程序员的学习资料