ARM 代码分析器

发布于 2024-08-02 14:36:25 字数 96 浏览 3 评论 0原文

我想在arm 9上分析我的代码,是否有任何分析器可以为我提供函数调用时间和每个函数所花费的总周期?我更喜欢任何免费的分析器。我喜欢在 Linux 中使用 kcachegrind。

I want to profile my code on arm 9, Is there any profiler which can give me function call timings and total cycles taken by each function? I would prefer any free profiler. I loved to work with kcachegrind in linux.

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

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

发布评论

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

评论(3

他是夢罘是命 2024-08-09 14:36:25

我不知道有什么免费的 ARM 分析器。

您可以尝试ARM RVDS 4.0 Pro。它有一个很好的分析器。您可以使用模拟器而不是真实的硬件。它简化了一些事情,但您不会收到有关缓存未命中/内存延迟的信息,并且结果可能与真实硬件上的测试不同。

RVDS的价格足够高。您可以尝试试用 30 或 45 天,也许这足以描述您想要的所有内容。

I don't know any free ARM profilers.

You can try ARM RVDS 4.0 Pro. It has a good profiler. And you can use emulator instead of real hardware with it. It simplifies some things, but you'll not receive information about cache-misses/memory-latency, and results may differ from tests on real hardware.

The price of RVDS is high enough. You can try trial for 30 or 45 days, maybe this will be enough to profile all you want.

知你几分 2024-08-09 14:36:25

如果您使用 gcc,gprof 将是显而易见的选择,并且我认为 valgrind 也应该可以工作。警告:我不熟悉 kcachegrind

我现在看到 kcachegrind 使用 valgrind 框架,所以我想你将能够从你的开发机器上运行它。

gprof would be the obvious choice if you are using gcc and I suppose valgrind should work too. Caveat: I am not familiar with kcachegrind

I see now that kcachegrind IS using valgrind framework, so I would imagine you would be able to run it from your development machine..

北渚 2024-08-09 14:36:25

如果您有办法中断代码,这是免费的,而且效果出奇的好。

If you've got some way to interrupt the code, this is free and surprisingly effective.

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