OAR

RTEMS GNU Tools On-Line Library


Output

PREV UP NEXT Bookshelf GNU gprof

Chapter 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 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

  • PREV UP NEXT Bookshelf GNU gprof

    Packaging copyright © 1988-2000 OAR Corporation
    Context copyright by each document's author. See Free Software Foundation for information.