[Top] | [Contents] | [Index] | [ ? ] |
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 SummaryHow to run gprof
, and its options
5. Interpreting gprof
's OutputInterpreting gprof
's output
6. Inaccuracy of gprof
OutputPotential problems you should be aware of 7. Answers to Common Questions Answers to common questions 8. Incompatibilities with Unix gprof
(between GNU gprof
and Unixgprof
.)9. Details of Profiling Details of how profiling is done 10. GNU Free Documentation License