Windows Callgrind 结果浏览器,替代 KCacheGrind
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/863893/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Windows Callgrind results browser, alternative to KCacheGrind
提问by Lailin Chen
Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?
除了 KCacheGrind 之外,还有其他工具可以查看 callgrind 结果吗?最好是Windows平台?
采纳答案by RandomNickName42
alleyoopand valkyrie (broken link)are alternative front ends.
alleyoop和valkyrie(断开的链接)是替代前端。
May have enough suport for what you want, you can use mingw to compile for Windows native if SUA does not work out of the box.
可能对你想要的东西有足够的支持,如果 SUA 不能开箱即用,你可以使用 mingw 为 Windows 本地编译。
回答by Lailin Chen
I have compiled kcachegrind on windows using QT4.7, here is the binary bundle (including the dot utility to generate call graph): http://sourceforge.net/projects/precompiledbin/files/kcachegrind.zip/download
我已经使用 QT4.7 在 Windows 上编译了 kcachegrind,这里是二进制包(包括用于生成调用图的点实用程序):http: //sourceforge.net/projects/precompiledbin/files/kcachegrind.zip/download
回答by Mario Awad
Try WebGrind: https://github.com/jokkedk/webgrind
尝试 WebGrind:https: //github.com/jokkedk/webgrind
Runs on your local PHP server. Be careful, use XDebug profiling with the XDEBUG_PROFILE flag or otherwise you'll risk overwriting your profiling output when you open WebGrind (Since WebGrind is also a PHP web application). The WebGrind website also details other approaches to work around this. Cheers.
在您的本地 PHP 服务器上运行。小心,使用带有 XDEBUG_PROFILE 标志的 XDebug 分析,否则当您打开 WebGrind 时,您将面临覆盖分析输出的风险(因为 WebGrind 也是一个 PHP Web 应用程序)。WebGrind 网站还详细介绍了解决此问题的其他方法。干杯。
回答by acme
You can try WinCacheGrind.
你可以试试WinCacheGrind。
回答by CruiZen
It seems that WinCacheGrind cannot open output of callgrind. I have not tried opening output of cachegrind, but it should work, I guess. From the Valkyrie page, (as of date) "Currently, Valkyrie supports Memcheck only, although work is in progress to handle Cachegrind and Massif."
WinCacheGrind 似乎无法打开 callgrind 的输出。我还没有尝试打开 cachegrind 的输出,但我想它应该可以工作。来自 Valkyrie 页面,(截至日期)“目前,Valkyrie 仅支持 Memcheck,尽管处理 Cachegrind 和 Massif 的工作正在进行中。”
回答by nnyby
There's a new project called XCallGraphfor viewing cachegrind files on Windows.
有一个名为XCallGraph的新项目用于在 Windows 上查看 cachegrind 文件。
回答by David Ferenczy Rogo?an
I have tried these:
我试过这些:
They're very similar but differ in details. I can recommend the QCacheGrindwhich is the most feature packed and has also a graphical representation, which can help to identify problems much faster.
它们非常相似,但在细节上有所不同。我可以推荐QCacheGrind,它是功能最丰富的,还有一个图形表示,可以帮助更快地识别问题。