linux下的四个C/C++Profile软件

来源:互联网 发布:生物多样性锐减的数据 编辑:程序博客网 时间:2024/05/18 02:56

最常用的:gprof

需要在使用gcc时加入pg参数


最新的:google-perftools

使用方法见上面的google-code链接


试用版本:intel-vTunes


valgrind套件中的callgrind


valgrind --tool=callgrind ./(Your binary)


原创粉丝点击