2017年2月5日
摘要: 1) 下载valgrind 2) 利用参数启动程序 Valgrind --tool=callgrind <程序的启动命令> 3) 执行操作需要正常退出,或者kill -6/kill -9 4) 执行操作会生成文件callgrind.out.xxxx,里面包含了性能数据 5) 利用图形查看工具分析 q 阅读全文
posted @ 2017-02-05 21:20 随性随行 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1.通过valgrind 1)编译最新的valgrind, 选择安装路径为/usr/ ./configure --prefix=/usr/local/valgrind make make install 2) 编译完后,将/usr/local/valgind压缩成软件包,然后拷贝到需要调测的设备对应 阅读全文
posted @ 2017-02-05 14:09 随性随行 阅读(657) 评论(0) 推荐(0) 编辑