Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The cachegrind tool can simulate how your application interacts with cache .  A profile run with cachegrind will generate data for all of your application and the system calls required to support it.  You'll typically find your application code's profile data toward the end of the list.  Hover over the Location labels for detail on their meaning.  Selecting a file->routine->line# in the Valgrind Cachegrind table will take you to that line in your source code.

Valgrind's Helgrind utility for use with pthreads is also integrated into Eclipse.  Not being a big pthread programming, I don't have much to say about it but it's interesting to take a look at an OpenMP code (like our test program) and see what Helgrind reports.

References:

http://www.eclipse.org/linuxtools/projectPages/valgrind/

...