Lines Matching full:profile
41 * Executing:: Executing your program to generate profile data
70 profile data. If you don't use some feature of your program while it
71 is being profiled, no profile information will be generated for that
79 * You must execute your program to generate a profile data file.
82 * You must run `gprof' to analyze the profile data. *Note `gprof'
89 The "flat profile" shows how much time your program spent in each
92 concisely here. *Note The Flat Profile: Flat Profile.
115 The first step in generating profile information for your program is to
145 Flat profile:
166 you can still profile the program, but you won't get complete
170 were called, or from where. This will not affect the flat profile
200 writing the profile data.
203 it--may have a dramatic effect on what the profile information shows.
204 The profile data will describe the parts of the program that were
206 command you give to your program is to quit, the profile data will show
209 Your program will write the profile data into a file called
212 tell the program to write the profile data under a different name, but
218 the low-level function `_exit' does not write the profile data, and
242 gprof OPTIONS EXECUTABLE-FILE gmon.out BB-DATA [YET-MORE-PROFILE-DATA-FILES...] [> OUTFILE]
250 After you have a profile data file `gmon.out', you can run `gprof' to
252 profile and a call graph on standard output. Typically you would
257 gprof OPTIONS [EXECUTABLE-FILE [PROFILE-DATA-FILES...]] [> OUTFILE]
262 you give no profile data file name, the file `gmon.out' is used. If
263 any file is not in the proper format, or if the profile data file does
267 You can give more than one profile data file by entering all their
297 which prints a flat profile and call graph analysis for all functions.
318 If the profile data file contains basic-block count records,
325 about the profile data file(s) and then exit. The number of
350 `--flat-profile[=SYMSPEC]'
351 The `-p' option causes `gprof' to print a flat profile. If
352 SYMSPEC is specified, print flat profile only for matching symbols.
353 *Note The Flat Profile: Flat Profile.
356 `--no-flat-profile[=SYMSPEC]'
357 The `-P' option causes `gprof' to suppress printing a flat profile.
358 If SYMSPEC is specified, `gprof' prints a flat profile, but
475 the executable file. This option affects both the flat profile
496 profile data on systems where it is supported (Solaris and HPUX for
537 the flat profile, even those that were never called, and that had
560 Selects the format of the profile data files. Recognized formats
567 profile data files it read in, and write out a profile data file
569 profile data files that `gprof' read in. The file `gmon.sum' may
695 * Flat Profile:: The flat profile shows how much time was spent
705 File: gprof.info, Node: Flat Profile, Next: Call Graph, Up: Output
707 5.1 The Flat Profile
710 The "flat profile" shows the total amount of time your program spent
717 This is part of a flat profile for a small program:
719 Flat profile:
743 appear in every flat profile; their time gives a measure of the amount
783 The flat profile listing is sorted first by this number.
800 is the only field in the flat profile that uses call graph
804 This is the name of the function. The flat profile is sorted by
809 File: gprof.info, Node: Call Graph, Next: Line-by-line, Prev: Flat Profile, Up: Output
820 same `gprof' run as the flat profile example in the previous section.
863 The internal profiling function `mcount' (*note The Flat Profile:
864 Flat Profile.) is never mentioned in the call graph.
916 for this function in the flat profile.
1198 The flat profile is the most useful output table in line-by-line
1208 Flat profile:
1237 Flat profile:
1378 profile says how often samples are taken. The rule of thumb is that a
1432 profile data itself. Instead, `gprof' estimates them by making an
1652 The old BSD-derived file format used for profile data does not contain a
1665 in a profile data file is in the native format of the target for which
1666 the profile was collected. GNU `gprof' adapts automatically to the
1740 each for the flat profile (INCL_FLAT/EXCL_FLAT), the call graph arcs
1795 Now the profile data file(s) themselves are read
1802 bins, and read them in. When multiple profile data files (or files
1866 flat profile (`hist.c:hist_print') are regurgitations of values already
1922 Shows basic-block records as they are read from profile data (only
2320 Node: Flat Profile28889