|
From: Josef W. <Jos...@gm...> - 2007-04-13 21:35:48
|
On Friday 13 April 2007, Andrew Shewmaker wrote: > Hi, > > 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... Perhaps a simpler way would be to attribute misses to source code columns when debug info has this information... Josef > > MemSpy > > "a prototype tool that helps programmers identify and fix memory > bottlenecks in both sequential and parallel programs. A key aspect of > MemSpy is that it introduces the notion of data oriented, in addition > to code oriented, performance tuning. Thus, for both source level code > objects and data objects, MemSpy provides information such as cache > miss rates, causes of cache misses, and in multiprocessors, > information on cache invalidations and local versus remote memory > misses. MemSpy also introduces a concise matrix presentation to allow > programmers to view both code and data oriented statistics at the same > time." > > http://www.cs.washington.edu/homes/tom/pubs/memspy.html > http://www.cs.washington.edu/homes/tom/pubs/trace-samp.html > http://www.cs.washington.edu/homes/tom/pubs/memspy95.html > > > Thanks, > > Andrew Shewmaker > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |