Need suggestion on tools similar to kcachegrind wingrind valgrind for mac platform.
I don't think these work on mac, I already checked these.
QCacheGrind is part of the valgrind suite of tools. Valgrind started out as a set of tools to do memory profiling, mostly of C programs. A file format, callgrind, was developed in order to store and analyze the output from valgrind.
You can launch KCacheGrind using command line or in the program menu if your system installed it here. Then, you have to open your profile file. The first view present a list of all the profiled functions. You can see the inclusive and the self cost of each function and the location of each one.
I ended up using qcachegrind on OSX. It can be installed via brew
brew install qcachegrind
or, to enable graphviz support:
brew install qcachegrind --with-graphviz
What's great about this program is that I successfully loaded a 6.1GB cachegrind file on my MacBook Pro! Pretty slick!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With