如何阅读gmon.out?

cal*_*pto 11 c++ profile gcc windows-7

如何在Windows中阅读gmon.out?Windows无法打开文件,因此gmon.out options在命令行窗口中无法正常工作.

Wyz*_*a-- 17

gprof是读取gmon.out文件并显示文件信息的工具.

  • 您需要为gprof提供可执行文件名.例如`gprof <executable-filename> gmon.out> output.txt`然后使用任何编辑器打开output.txt.参见手册:http://sourceware.org/binutils/docs-2.16/gprof/ (16认同)
  • 好.我在我的codeblocks目录中找到了它.它给我'a.out不是可执行格式` (2认同)