Windows Callgrind results browser, alternative to KCacheGrind [closed]
Asked Answered
C

7

38

Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?

Copenhagen answered 14/5, 2009 at 15:7 Comment(6)
It is possible to use KCacheGrind on windows using KDE For windows (windows.kde.org). There's a fair bit of bloat from the dependencies if you're installing it just for KCacheGrind though.Mountford
can anybody mention tools for mac platform ?Hydrous
Do have a look at Lailin Chen's answer belowArdys
1. Install WSL (Bash on Windows) 2. Install VcXsrv (newer version of XMing) and start the daemon. 3. In Bash on Windows: # apt-get install -y kcachegrind 4. Add line export DISPLAY=localhost:0.0 to ~/.bashrc. (Re-source .bashrc or restart shell if necessary). 5. $ kcachegrind 6. Be anazed about the kcachegrind window opening on your Windows Desktop!Vowell
For those looking for setting up kcachegrind with WSL2: How to set up working X11 forwarding on WSL2Tilly
Now on windows 11 with wsl2 you can just launch X11 programs from the cli. No more need for XMing. It looks shitty though, maybe I'm missing some KDE packages but it's usable.Photocell
I
1

alleyoop and valkyrie (broken link) are alternative front ends.

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.

Intricacy answered 22/5, 2009 at 11:41 Comment(4)
so nothing out there with pre-compiled binaries that works for windows?Permanganate
kcachegrind from the kde-installer should be precompiled.Cohin
Do you know, how to use SUA? I use to use Cygwin for several years already (and it's awesome, but very slow) and I was also trying to find how to use SUA, but I wasn't very successful.Floret
BTW I wonder why this answer is marked as accepted, since Valkyrie doesn't support CacheGrind profiles currently and the only information about Alleyoop and CacheGrind I was able to find was that it doesn't open it. Also neither of them have binaries for Windows.Floret
P
108

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

Putrid answered 13/12, 2010 at 5:16 Comment(5)
I've been using WinCacheCrind, but the call graph feature of kcachegrind is the killer feature. thanks so much for these binaries!Atomize
Thanks from me too, Lailin! Works great on Win 8.1 Pro!Ursal
There seems to have a port of the 0.7.4 version at sourceforge.net/projects/qcachegrindwin/files/0.7.4Fiorenze
Anyone can help me ? I download and opened it on Win10 x64. After, I click Open... and go to folder with files like : cachegrind.out.7284 .. but the software DONT see this files in the folder, where is the problem ?Courcy
Here is a more recent build: sourceforge.net/projects/qcachegrind-windows-2020-build/…Recede
R
11

Try 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.

Reconnaissance answered 27/1, 2010 at 17:29 Comment(0)
B
7

You can try WinCacheGrind.

Beaudette answered 18/9, 2009 at 13:2 Comment(1)
wincachegrind does not have call graphShaunteshave
C
4

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."

Chino answered 31/12, 2009 at 7:35 Comment(0)
P
2

I have tried these:

They're very similar but differ in details. I can recommend the QCacheGrind which is the most feature packed and has also a graphical representation, which can help to identify problems much faster.

Pusillanimity answered 7/10, 2015 at 16:28 Comment(0)
I
1

alleyoop and valkyrie (broken link) are alternative front ends.

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.

Intricacy answered 22/5, 2009 at 11:41 Comment(4)
so nothing out there with pre-compiled binaries that works for windows?Permanganate
kcachegrind from the kde-installer should be precompiled.Cohin
Do you know, how to use SUA? I use to use Cygwin for several years already (and it's awesome, but very slow) and I was also trying to find how to use SUA, but I wasn't very successful.Floret
BTW I wonder why this answer is marked as accepted, since Valkyrie doesn't support CacheGrind profiles currently and the only information about Alleyoop and CacheGrind I was able to find was that it doesn't open it. Also neither of them have binaries for Windows.Floret
F
1

There's a new project called XCallGraph for viewing cachegrind files on Windows.

Freelance answered 20/8, 2012 at 18:1 Comment(1)
I've tested it now and it works like charm (WinXP). Thanks.Gumm

© 2022 - 2024 — McMap. All rights reserved.