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


GNU gprof

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Interpreting gprof's Output

gprof 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 section 4.1 Output Options.

5.1 The Flat Profile  The flat profile shows how much time was spent executing directly in each function.
5.2 The Call Graph  The call graph shows which functions called which others, and how much time each function used when its subroutine calls are included.
5.3 Line-by-line Profiling  gprof can analyze individual source code lines
5.4 The Annotated Source Listing  The annotated source listing displays source code labeled with execution counts


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