|
From: Andrew S. <ag...@gm...> - 2007-04-13 18:44:23
|
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? 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 |