Home | History | Annotate | Download | only in info

Lines Matching full:profile

43 * Executing::           Executing your program to generate profile data
72 profile data. If you don't use some feature of your program while it
73 is being profiled, no profile information will be generated for that
81 * You must execute your program to generate a profile data file.
84 * You must run `gprof' to analyze the profile data. *Note `gprof'
91 The "flat profile" shows how much time your program spent in each
94 concisely here. *Note The Flat Profile: Flat Profile.
117 The first step in generating profile information for your program is to
147 Flat profile:
179 you can still profile the program, but you won't get complete
183 were called, or from where. This will not affect the flat profile
213 writing the profile data.
216 it--may have a dramatic effect on what the profile information shows.
217 The profile data will describe the parts of the program that were
219 command you give to your program is to quit, the profile data will show
222 Your program will write the profile data into a file called
225 tell the program to write the profile data under a different name, but
231 the low-level function `_exit' does not write the profile data, and
255 gprof OPTIONS EXECUTABLE-FILE gmon.out BB-DATA [YET-MORE-PROFILE-DATA-FILES...] [> OUTFILE]
263 After you have a profile data file `gmon.out', you can run `gprof' to
265 profile and a call graph on standard output. Typically you would
270 gprof OPTIONS [EXECUTABLE-FILE [PROFILE-DATA-FILES...]] [> OUTFILE]
275 you give no profile data file name, the file `gmon.out' is used. If
276 any file is not in the proper format, or if the profile data file does
280 You can give more than one profile data file by entering all their
310 which prints a flat profile and call graph analysis for all functions.
331 If the profile data file contains basic-block count records,
338 about the profile data file(s) and then exit. The number of
363 `--flat-profile[=SYMSPEC]'
364 The `-p' option causes `gprof' to print a flat profile. If
365 SYMSPEC is specified, print flat profile only for matching symbols.
366 *Note The Flat Profile: Flat Profile.
369 `--no-flat-profile[=SYMSPEC]'
370 The `-P' option causes `gprof' to suppress printing a flat profile.
371 If SYMSPEC is specified, `gprof' prints a flat profile, but
488 the executable file. This option affects both the flat profile
509 profile data on systems where it is supported (Solaris and HPUX for
557 the flat profile, even those that were never called, and that had
580 Selects the format of the profile data files. Recognized formats
587 profile data files it read in, and write out a profile data file
589 profile data files that `gprof' read in. The file `gmon.sum' may
714 * Flat Profile:: The flat profile shows how much time was spent
724 File: gprof.info, Node: Flat Profile, Next: Call Graph, Up: Output
726 5.1 The Flat Profile
729 The "flat profile" shows the total amount of time your program spent
736 This is part of a flat profile for a small program:
738 Flat profile:
762 appear in every flat profile; their time gives a measure of the amount
802 The flat profile listing is sorted first by this number.
819 is the only field in the flat profile that uses call graph
823 This is the name of the function. The flat profile is sorted by
828 File: gprof.info, Node: Call Graph, Next: Line-by-line, Prev: Flat Profile, Up: Output
839 same `gprof' run as the flat profile example in the previous section.
882 The internal profiling function `mcount' (*note The Flat Profile:
883 Flat Profile.) is never mentioned in the call graph.
935 for this function in the flat profile.
1217 The flat profile is the most useful output table in line-by-line
1227 Flat profile:
1256 Flat profile:
1402 profile says how often samples are taken. The rule of thumb is that a
1456 profile data itself. Instead, `gprof' estimates them by making an
1676 The old BSD-derived file format used for profile data does not contain a
1689 in a profile data file is in the native format of the target for which
1690 the profile was collected. GNU `gprof' adapts automatically to the
1764 each for the flat profile (INCL_FLAT/EXCL_FLAT), the call graph arcs
1819 Now the profile data file(s) themselves are read
1826 bins, and read them in. When multiple profile data files (or files
1890 flat profile (`hist.c:hist_print') are regurgitations of values already
1946 Shows basic-block records as they are read from profile data (only
2455 Node: Flat Profile29909