KCachegrind
Visualisation tool for the Valgrind profiler
KCachegrind is a profile data visualization tool, used to determine the most time consuming parts in the executionof a program.
Features:
- KCachegrind visualizes profiles (i.e. runtime characteristics) of applications in various ways, including call graph vizualisations and source/disassembler annotation.
- It can load profiles generated by the cache simulation/call tracer Calltree, a Valgrind tool. Thus, profiling does not need any preparation, can cope with shared libraries and plugin architectures, anddoes not influence the measuring itself.
- Converter scripts for OProfile, Perl, and PHP.
- Switching between multiple visualization layouts.
- Call graph can be exported as image (PNG).
- Simultaneous display of 2 event types in Call and Annotation View
KCachegrind is a visualisation tool for the profiling data generated by calltree, a memory profiling tool for valgrind. Any executable can be profiled using calltree without being recompiled, including multi-threaded applications, shared libraries, and plugins. . For visualising the output from profiling tools other than Valgrind, several converters can be found in the kcachegrind-converters package. . This package is part of the KDE Software Development Kit module.
How to install KCachegrind in Ubuntu
If you are on a supported distro, you can install the application through software center by clicking the below link.
If the above link not working, run the below command in terminal to install kcachegrind in Ubuntu
sudo apt install kcachegrind