最近人品大爆发啊,好多以前不好使的工具今天都能用了,感谢CentOS 6.3.
gprof用来分析程序瓶颈真的是好东西。
gcc –pg –o test test.c
gprof test
最近人品大爆发啊,好多以前不好使的工具今天都能用了,感谢CentOS 6.3.
gprof用来分析程序瓶颈真的是好东西。
gcc –pg –o test test.c
gprof test
gcc –o test test.c –lefence 提前发现动态内存的错误
通过查出的错误的读写操作,和与之对应的内存块及其分配位置,在错误地点中断程序调试修改。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M