English 中文(简体)
能否显示原始样本的点数?
原标题:Can perf display raw sample counts?

我如perf至产出原始样本,而不是百分比。 这对于确定我是否篡夺了试图优化的Im的功能是有益的。

很显然,我要做一些类似的事情。

perf record ./a.out
perf report

并看看在外围对每项职能进行抽样的次数。

可在澳门这样做,而且(我相信)Xperf。 这样做能否在无缘的环境下进行?

最佳回答

每一份报告(第2.6.35.7章)现在都支持我想要的国旗。

问题回答

You want to see if your changes to a function made a difference. I presume you also want whatever help you can get in finding out which function you need to change. Those two objectives are not the same.

很多工具给你带来了一套广泛的统计或反面,因为它们可以梦想成败,因为如果有更多的统计将有助于实现两个目标。

您能否持有RotateRight/Zoom,或者在墙壁时间上给你打上样本的任何工具,最好是在用户的控制下? 这种工具将使你在任何常规或守则线上,特别是 包容性/>时间上花费时间和百分比。

包容性之所以如此重要,是因为执行的每一条刑法线都要花一定时间,这样,如果该界线没有,那部分时间就不会花掉,总的时间会减少。 在这段时期内,无论是在一个大草坪上还是数千个小丘上花,该法典的行程都是在电线上,在这里,点击样本将发现,其速度相当于其分数。 因此, st取样在寻找值得优化的代码方面非常有效,不论是由叶子指示还是用电树进行。

个人方面,,这一链接说明了这种方法如何和为何使用,而这种方法并非原始,而是比任何方法或工具I ve所看到的 这里的讨论





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签