The effect of called routines is incorporated into the profile of each caller. That option also links in versions of the library routines that are compiled for profiling. If more than one profile file is specified, gprof output shows the sum of the profile information in the given profile files. This listing gives the total execution times and call counts for each function in the program, sorted by decreasing time. Next, these times are propagated along the edges of the call graph.
All calls made into the cycle share the time of that cycle.
A second listing shows the functions sorted according to the time they represent including the time of their call graph descendants. Cycles are also shown, with an entry for the cycle as a whole and a listing of the members of the cycle, each with their contributions to the time and call counts of the cycle. Suppress printing statically declared functions. Suppress printing a description of each field in the profile. More than one -e option can be given.