Next: Inaccuracy, Previous: Invoking, Up: Top [Contents]
gprof
’s Outputgprof
can produce several different output styles, the
most important of which are described below. The simplest output
styles (file information, execution count, and function and file ordering)
are not described here, but are documented with the respective options
that trigger them.
See Output Options.
• Flat Profile: | The flat profile shows how much time was spent executing directly in each function. | |
• Call Graph: | The call graph shows which functions called which others, and how much time each function used when its subroutine calls are included. | |
• Line-by-line: | gprof can analyze individual source code lines
| |
• Annotated Source: | The annotated source listing displays source code labeled with execution counts |