Handmade Hero»Forums»Code
Martin Cohen
47 posts / 1 project
Code, art, music, stupid ideas.
Debugging / monitoring L2 cache
Hey guys,

do you know about any way to debug or monitor usage of L2 cache to help with designing data structures and algorithms (possibly on Windows)?

--M.
Mārtiņš Možeiko
2559 posts / 2 projects
Debugging / monitoring L2 cache
Edited by Mārtiņš Možeiko on
For commercial solution I recommend Intel VTune. It can do that and much more.

There is free tool from AMD called CodeXL. Not as good as Intel one, but still works great. It works fine on Intel CPU's, but I am not sure if it will show L2 cache usage on non-AMD CPU's. Some time ago it was showing only basic info if run on non-AMD CPU.
Martin Cohen
47 posts / 1 project
Code, art, music, stupid ideas.
Debugging / monitoring L2 cache
Amazing! Thanks!