GNU gprof
The GNU Profiler
Jay Fenlason and Richard Stallman
Why Profile
Compiling a Program for Profiling
Executing the Program to Generate Profile Data
gprof
Command Summary
How to Understand the Flat Profile
How to Read the Call Graph
The Primary Line
Lines for a Function's Callers
Lines for a Function's Subroutines
How Mutually Recursive Functions Are Described
Implementation of Profiling
Statistical Inaccuracy of
gprof
Output
Estimating
children
Times Uses an Assumption
Incompatibilities with Unix
gprof