gprof 输出问题

发布于 2024-11-27 18:23:27 字数 462 浏览 5 评论 0原文

问题是:为什么我的 gprof 输出仅显示“按函数名称索引”?

我在本教程的支持下编译了我的应用程序: http://ececmpsysweb.groups.et.byu .net/cmpsys.2004.winter/citizenship/Bryan_Wheeler/Profiling_Tutorial.html

所以我的应用程序是用 -p -pg 编译的

在我使用 ./application 运行我的应用程序后,它将创建 mon.out 文件,但这仅按函数名称保存索引,这有点奇怪,

有人有相同的经验或知道吗我在这里做错了什么。

谢谢,阿尔卡特罗斯

The question is: Why is my gprof output only displaying "Index by function name" ?

I have compiled my application with the support of this tutorial :
http://ececmpsysweb.groups.et.byu.net/cmpsys.2004.winter/citizenship/Bryan_Wheeler/Profiling_Tutorial.html

So my application is compiled with -p -pg

After i run my application with ./application it will create the mon.out file, but this only holds the Index by function name, which is kinda strange,

Has anybody had the same expirience or knows what iam doing wrong here.

Thanks, Alcatros

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

水波映月 2024-12-04 18:23:27

问题是 putty 以某种方式隐藏了输出,打开 vi 并退出后,它实际上会显示程序的输出。

The Problem was that putty was somehow hiding the output, after opening vi and exiting it, it would actually show the output from the program.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文