【发布时间】:2010-10-26 05:17:42
【问题描述】:
除了 KCacheGrind 之外,还有什么工具可以查看 callgrind 的结果吗?最好是Windows平台?
【问题讨论】:
-
可以在使用 KDE For windows (windows.kde.org) 的 windows 上使用 KCacheGrind。如果你只是为 KCacheGrind 安装它,那么依赖关系会有点膨胀。
-
有人能提一下mac平台的工具吗?
-
看看下面的Lailin Chen's answer
-
1.安装 WSL(Windows 上的 Bash) 2. 安装 VcXsrv(较新版本的 XMing)并启动守护程序。 3. 在 Windows 上的 Bash 中:# apt-get install -y kcachegrind 4. 将行
export DISPLAY=localhost:0.0添加到~/.bashrc。 (重新获取.bashrc或在必要时重新启动 shell)。 5. $ kcachegrind 6. 对 Windows 桌面上打开的 kcachegrind 窗口感到惊讶!
标签: windows valgrind profiling callgrind