Diagnostic Messages
The Diagnostic Messages appear at the end of the report.
gprof Fallacy and Possibly Misleading Results
The HP Caliper sampled call graph report (with the scgprof measurement) and the call graph report (with the cgprof measurement) both produce
For example, if function A and B each call function C 10 times, scgprof and cgprof assign the total time spent in function C equally to both functions A and B. However, calls from function A might take longer than those from function B. In this example, function A would have a higher effect on performance than function B, which the call graph data would not show.
Keep this limitation in mind when you analyze sampled call graph and call graph report results.
gprof Fallacy and Possibly Misleading Results 133