Polecenie gprof
Opcje wykonania gprof w konsoli
Do not display statically declared functions. Since their information might still be relevant, append it to the information about the functions loaded immediately before.
Do not display information about each field in the profile.
Consult the object file's text area to attempt to determine the program's static call graph. Display static-only parents and children with call counts of 0.
Specify whether C++ symbols should be demangled or not. They are demangled by default. If profiling a program built by a different compiler, you may need to specify the mangling style.
Print suggested function order based on profiling data.
Print suggested link line order for .o files based on profiling data. Read function name to object file mappings from file. This file can be created using the nm command.
Print summary information on datafiles, then exit.
Remove arcs between the routines from and to.
Don't print count statistics for symbols executed less than n times.
Propogate time statistics in call graph analysis.
Print profile statistics.
Print call graph analysis.
Summarize profile information in the file gmon.sum.
Print version and exit.
Print function index formatted to width n.
When printing annotated source, annotate every line in a basic block, not just the beginning.
Print annotated-source output to separate files instead of standard output. The annotated source for each source file is printed to filename-ann.
Include zero-usage calls.
Print annotated source code.
Print statistics on the number of times each function is called. When used with option -l, count basic-block execution.
Print only information about routine. Do not include time spent in other routines.
Set directory path to search for source files. The dirs argument may be given as a colon-separated list of directories.
Don't print annotated source code.
Print the path information when printing filenames.
Don't propogate time statistics in call graph analysis.
Don't print profile statistics
Don't print call graph analysis.
Print output in BSD style.
Don't print statistics on the number of times each function is called.
Przykłady gprof działanie w Słownik polecenie G
- Przykład GPROF użycie :
- Jak użyć The GNU version of awk , a program that does pattern matching, record processing, and other forms of text manipulation. For more information, see Chapter 1 co znaczy.
- Przykład GPROF użycie :
- Jak użyć Print the kernel's scancode-to-keycode mapping table krzyżówka.
- Przykład GPROF użycie :
- Jak użyć Uncompress files compressed by gzip . See gzip for a list of options co to jest.
- Przykład GPROF użycie :
- Jak użyć executables. When run, these files automatically uncompress, thus trading time for space. gzexe creates backup files with a tilde at the end (filename ~ ). These backup files can be deleted once you słownik.
- Przykład GPROF użycie :
- Jak użyć options necessary to make it recognize C++. g++ recognizes all the file extensions gcc does, in addition to C++ source files (.C , .cc , or .cxx files) and C++ preprocessed files (.ii files). See czym jest.