www.delorie.com/gnu/docs/binutils/gprof.html   search  
Buy GNU books!

GNU gprof

[Top] [Contents] [Index] [ ? ]

GNU gprof

This manual describes the GNU profiler, gprof, and how you can use it to determine which parts of a program are taking most of the execution time. We assume that you know how to write, compile, and execute programs. GNU gprof was written by Jay Fenlason.

This document is distributed under the terms of the GNU Free Documentation License. A copy of the license is included in the section entitled "GNU Free Documentation License".

1. Introduction to Profiling  What profiling means, and why it is useful.

2. Compiling a Program for Profiling  How to compile your program for profiling.
3. Executing the Program  Executing your program to generate profile data
4. gprof Command Summary  How to run gprof, and its options

5. Interpreting gprof's Output  Interpreting gprof's output

6. Inaccuracy of gprof Output  Potential problems you should be aware of
7. Answers to Common Questions  Answers to common questions
8. Incompatibilities with Unix gprof  (between GNU gprof and Unix gprof.)
9. Details of Profiling  Details of how profiling is done
10. GNU Free Documentation License  

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003