GNU Info

Info Node: (


Next: Introduction Up: (dir)
Enter node , (file) or (file)node

Profiling a Program: Where Does It Spend Its Time?

   This manual describes the GNU profiler, `gprof', and how you can use
it to determine which parts of a program are taking most of the
execution time.  We assume that you know how to write, compile, and
execute programs.  GNU `gprof' was written by Jay Fenlason.

   This document is distributed under the terms of the GNU Free
Documentation License.  A copy of the license is included in the
section entitled "GNU Free Documentation License".

What profiling means, and why it is useful.
How to compile your program for profiling.
Executing your program to generate profile data
How to run `gprof', and its options
Interpreting `gprof''s output
Potential problems you should be aware of
How do I?
Answers to common questions
(between GNU `gprof' and Unix `gprof'.)
Details of how profiling is done
GNU Free Documentation License
GNU Free Documentation License

automatically generated by info2www version