I 'm using PIN for instrumentation purpose. I 'm planning to do cache simulator using LRU and RRIP and compare the results of these two. So i need to change the code of dcache.cpp in pin examples to write LRU and RRIP.
I have finished LRU and inserted in the dcache.cpp.
How can i test the code or run the code dcache.cpp using pin ?