Valgrind
Valgrind is a set of tools to debug and profile programs. We will take a look at
- cachegrind which will check how often memory lies not in the cache if used which slows down programs.
- callgrind + kcallgrind to profile the execution time of functions.