I wan`t to compare cache algorithms like LRU, SLRU, LFU etc on real data.
That`s why I need some method to generate real-like data to compare cache algorithms or to get this data from some application.
I think cachegrind, one of the tools in the valgrind suite, might be what you're looking for. I haven't used it myself, but from a glance at that page, it produces an output file cachegrind.out.<pid>
with human-readable information about cache accesses. Not sure if it will be as detailed as you need (maybe it's just a summary), but probably worth a look.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With