|
From: Chris J. <ch...@bu...> - 2007-10-02 10:57:01
|
I would like to see the cache results of a single block of memory I allocate in my program. Is there any way I can pass a particular block of memory to cachegrind at run-time, and ask for detailed analysis of just that block? |
|
From: Nicholas N. <nj...@cs...> - 2007-10-03 23:40:12
|
On Tue, 2 Oct 2007, Chris Jefferson wrote: > I would like to see the cache results of a single block of memory I > allocate in my program. Is there any way I can pass a particular block of > memory to cachegrind at run-time, and ask for detailed analysis of just > that block? Unfortunately no. Cachegrind can only associate cache stats with code locations (eg. lines of source code), not data locations. Nick |