性能評測工具 :gprof 的使用

因爲環境是WIN, 就下了MINGWc++ 設置好環境變量後,直接編譯函數 gcc main.cpp -pg -lstdc++測試 獲得a.exe gprof -b a.exe gmon.out >report.txt 優化 Gprof 產生的信息解釋:spa   %timeio Cumulative編譯 secondstable Self class Seconds監控 Calls Self T
相關文章
相關標籤/搜索