[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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 lines5.4 The Annotated Source Listing The annotated source listing displays source code labeled with execution counts