Buy GNU books!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
After you have a profile data file `gmon.out', you can run
to interpret the information in it. The
gprof program prints a
flat profile and a call graph on standard output. Typically you would
redirect the output of
gprof into a file with `>'.
gprof like this:
gprof options [executable-file [profile-data-files...]] [> outfile]
Here square-brackets indicate optional arguments.
If you omit the executable file name, the file `a.out' is used. If you give no profile data file name, the file `gmon.out' is used. If any file is not in the proper format, or if the profile data file does not appear to belong to the executable file, an error message is printed.
You can give more than one profile data file by entering all their names after the executable file name; then the statistics in all the data files are summed together.
The order of these options does not matter.
4.1 Output Options Controlling
gprof's output style
4.2 Analysis Options Controlling how
gprofanalyses its data
4.3 Miscellaneous Options 4.4 Deprecated Options Options you no longer need to use, but which have been retained for compatibility 4.5 Symspecs Specifying functions to include or exclude
|webmaster donations bookstore||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|