Versions Compared

Key

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

Motivation

Performance tuning and profiling can be a daunting task, but it doesn't have to be with Eclipse.  A couple basic tools are included with most linux distributions providing code coverage analysis and function profiling: gprof and gcov.  With the linuxtools component of Eclipse ( http://www.eclipse.org/linuxtools/Image Added ), using gprof and gcov with your code is simplified and their reports are fully integrated with the cdt editor perspective.

The Shallow demo project from the eclipse tutorial cvs can be used with gprof and gcov with a few simple adjustments to the Makefile and MPI runtime.  Here are the details and some discussion of what can be done with the profiling and coverage output.

...