|
From: Nicholas N. <nj...@cs...> - 2007-04-13 22:39:14
|
On Fri, 13 Apr 2007, Josef Weidendorfer wrote: >> I was wondering if valgrind had the kind of functionality that memspy >> does. For example, can it tell me which of three data structures >> referenced in a line of code is experiencing the most cache misses >> and what's pushing it out of cache? > > AFAIK no. > It should be possible, and I once started something like this, but did > not finish. However, it already showed some aggregate counters (as part > of debug output) attributed to global data symbols... I have the startings of something like this as well :) It uses client requests in the source code to specify which bits of memory should be considered a single entity. But it's not very advanced. Nick |