linux環境下 C++性能測試工具 gprof + kprof + gprof2dot

1.gprof 很有名了,google下很多教程 g++ -pg -g  -o test test.cc ./test   //會生成gmon.out gprof ./test > prof.log 看一下對於我前面提到的huffman編碼壓縮+解碼解壓縮全部過程的一個程序 對於生成的prof.log ,wow, 很有用處的但是看起來有點累,不是嗎:) Code Flat profile: Eac
相關文章
相關標籤/搜索