【问题标题】:How to read gmon.out?如何阅读 gmon.out?
【发布时间】:2011-09-08 14:22:54
【问题描述】:

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

【问题讨论】:

    标签: c++ gcc windows-7 profile


    【解决方案1】:

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

    【讨论】:

    • 您需要为 gprof 提供可执行文件名。例如。 gprof <executable-filename> gmon.out >output.txt 然后使用任何编辑器打开 output.txt。见手册:sourceware.org/binutils/docs-2.16/gprof
    猜你喜欢
    • 2011-01-19
    • 2012-01-16
    • 2018-06-11
    • 2023-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多