Table 24 Information in fcover Measurement Reports

Column

Description

Reached

Number of functions in the given source file that executed at least once.

Unreached

Number of functions in the given source file that did not execute.

%Unreached

Percentage of functions in the given source file that were never executed.

Load Module

Load module name in Load Module Summary.

Source Directory

Source directory path in Source Directory Summary.

Source File

Source-file path in Source File Summary.

See Table 25 (page 200).

Table 25 Information in Per-Source-File fcover Measurement Reports

Column

Description

Reached

“Yes” or “No” indication of whether the named function was ever executed.

Function

Name of the function. The load module, main executable or shared library, containing

 

the function precedes the function name and is separated from it by “::”.

Source File [Line]

Base source file name, without path information, and starting line number of the named

 

function. The tilde (“~”) precedes line numbers when they are approximate due to

 

optimization.

Unknown Source Files

If the source file information for a function has been stripped, which is often done with system libraries, then HP Caliper reports on those functions separately. The report shows an additional line in the Source Directory Summary and Source File Summary tables for Unknown Source Files and the Totals coverage statistic includes them.

At the end of the per-source-file function coverage tables is an optional table for Unknown Source Files. To generate this table, use unknown in addition to the other -roption settings.

-r for Function Coverage Reports

-r [module][:directory][:file][:function][:unknown][none][all]

Default value is module:directory:file:function:unknown.

module

Shows data by load module.

directory

Groups data by source directory.

file

Generates Summary Report by source file.

function

Shows function level detail by source file.

unknown

When used together with the other report options, provides additional information

 

about functions from unknown source files in the summary and detail coverage

 

reports.

fprof Measurement Report Description

With the fprof measurement, produced by the fprof measurement configuration file, HP Caliper measures and reports sampled instruction pointers (IPs). The fprof measurement samples the instruction pointer (IP) at a regular interval (that is, at a particular number of CPU cycles). This provides a statistical identification of where CPU events are occurring.

200 Descriptions of Measurement Reports

Page 200
Image 200
HP UX Caliper Software manual Fprof Measurement Report Description, Unknown Source Files, Directory, Function