gprof

Gprof的使用

Gprof使用时一些简介:

https://blog.csdn.net/kesaihao862/article/details/7313679

 

 

使用:

 

  1. Make
  2. ./可执行文件
  3. Gprof -b -p 可执行文件 gmon.out > a.txt

 

         4. Vi a.txt

 

原文地址:https://www.cnblogs.com/lin1216/p/14463838.html