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
•
•Stub code
Call Graph Profile Metrics
Table 11 (page 181) 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. | |
|
| |
Line | The column contains one of these: | |
Slot | • A | |
Col,Offset | ||
• An instruction slot number for rows showing instructions not on a bundle boundary | ||
| ||
| • A | |
| for rows showing instructions on a bundle boundary | |
| Column and line numbers are preceded by “~” when they are approximate due to optimization. | |
|
| |
>Statement | The column contains either a source statement, preceded by “>” or a disassembled instruction. | |
Instruction | Statements that are out of order due to optimization are preceded by “*>”. | |
|
|
cgprof Report Description 181