|
From: John R. <jr...@bi...> - 2009-08-18 00:34:04
|
> Now I need a very simple memory read/write counting tool, just like > lackey. But the tool has to be fast. Memory is not simple any more. You must precisely define what is a read and what is a write. For example, what is a cache hit (level 1 [L1])? An L2 hit? L3? Coalesced consecutive writes? If what you count is architectural read/write to data, then disassemble enough to recognize instructions and basic blocks. Modify the code in-place to increment a counter at the end of every basic block. -- |