I am a 1st year Ph.D. student (Research Assistant). I am trying to increase the transfer rate between cache and DRAM. To do so I am planning to integrate a good compression technique (or some other techniques) to reduce the data size (not the prime task now). However, I cannot find or not aware of any tool which can provide me cache data in the format of cache line or block. I want to analyze the cache data to understand the ratio of zero and one.
I have only used Intel Pintool to collect some traces but the way it works it seems like to me that if I modify the C++ code to include a cache simulator (my own), it will not give the proper results.
So what I am trying to do is collecting Cache block data from Cache maybe during idle time or maybe when some application is running. If anyone had worked on the same context or aware of the tools which can give me the result or some way which will give me the same result, will be appreciated. I am using Linux OS.
Thanks in advance!