> 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.

-- 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to