Hacker News new | past | comments | ask | show | jobs | submit login

How does one debug the L2 cache? i.e. how does one inspect the data in the L2 cache and verify that loading some data from RAM actually cached X number of bytes, and the correct data has been loaded in the cache lanes, and the next instruction will use the data from there?



My naive guess would be using hardware perf counters and checking cache misses


callgrind/kcachegrind i think?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: