|
From: Nicholas N. <nj...@cs...> - 2005-06-20 19:00:09
|
On Mon, 20 Jun 2005, Adnan Khaleel wrote: > 1. Do you foresee any problems with the way I've used cachegrind to > generate an address reference stream? I'm specifically interested in the > fidelity of the addresses and any possible "differences" between the > native execution of the application. I know this sounds silly especially > since the application does execute but nonetheless I haven't gone > through all of the Valgrind code to ascertain this. See section 3.3.7 of http://www.valgrind.org/docs/phd2004.pdf which has the full list of inaccuracies/approximations. DynamoRIO is another system similar to Valgrind. It's faster, and it might be more suitable for your purposes because it modifies the program's original behaviour less than Valgrind does. > 2. I would also be very interested in differentiating process switches. > I need this because I want to collect traces in a Uniprocessor system > and then play the role of the OS in my multiprocessor latency simulator > so that I can schedule threads to different processors. Sorry, I don't understand -- can you explain in a little more detail? Nick |