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)

Column

Description

% Total IP Samples

Percent of the total IP samples attributable to a given program object.

Cumulat % of Total

Running sum of the percent of total IP samples accounted for by the given program object and

 

those listed above it.

IP Samples

Total number of IP samples attributed to the given program object.

Secs in Module

Number of seconds accounted for by this load module.

Secs in Func/Module

Number of seconds accounted for by this function/module alone, if this function/module is

 

profiled; otherwise blank.

Secs in Proc

Number of seconds accounted for by this process.

Call Count

Number of times this function was invoked, if this function is profiled. Otherwise, blank.

Msecs per Call

Number of milliseconds per function call.

Load Module

Shared library or the main executable.

Function

Routine from your application.

File

Source file associated with a function.

176 Descriptions of Measurement Reports

Page 176
Image 176
HP UX Caliper Software manual HP Caliper Call Graph Profile Results Accuracy, Call Graph Profile Metrics