HP Caliper 5.3 User Guide (5900-1558, February 2011)

HP Caliper Call Graph Profile Results Accuracy
The HP Caliper call graph profile report directly measures call graph data. The number of calls
are derived by counting, not sampling. They are completely accurate and will not vary from run
to run if your program is deterministic.
The HP Caliper call graph profile report's sampling of IP data is statistical, so you should expect
a small variation (less than +/- 5%) in the timing data that HP Caliper collects for different runs of
your application.
The times cgprof reports are affected by the instrumentation done to collect the data. The times
are inaccurate in absolute terms but valid in relative terms.
HP Caliper accounts for 100 percent of time under main for all applications with 0 (zero)
unattributed samples.
An entry called *ROOT* reflects 100 percent of the time for your executable, which represents the
time from:
All the functions with no parents
Out-of-context modules
Stub code
Call Graph Profile Metrics
Table 11 (page 176) shows the information found in the flat profile part of a Call Graph Profile
report.
In this table, “program object” refers to any of the following:
Load module
Function
Source statement
Instruction bundle
Table 11 Information in cgprof Measurement Report Fields (Flat Profile)
DescriptionColumn
Percent of the total IP samples attributable to a given program object.% Total IP Samples
Running sum of the percent of total IP samples accounted for by the given program object and
those listed above it.
Cumulat % of Total
Total number of IP samples attributed to the given program object.IP Samples
Number of seconds accounted for by this load module.Secs in Module
Number of seconds accounted for by this function/module alone, if this function/module is
profiled; otherwise blank.
Secs in Func/Module
Number of seconds accounted for by this process.Secs in Proc
Number of times this function was invoked, if this function is profiled. Otherwise, blank.Call Count
Number of milliseconds per function call.Msecs per Call
Shared library or the main executable.Load Module
Routine from your application.Function
Source file associated with a function.File
176 Descriptions of Measurement Reports