Re:Cache Rules Everything Around Me
by ajuc on Thursday January 31, 2013 @06:53AM
(#5144542)
kcachegrind on linux is great for that. It shows you your code annotated with number of cache misses per line of code, it also can show you callgraph with aggregated running time, etc. Internaly it uses callgrind.
Great tool for optimizing C/C++ code.