ILE C/C++ Programmer's Guide

Using a Compiler Option to Enable Performance Measurement

The performance-measurement compiler option ENBPFRCOL() allows you to specify whether or not the compiler should generate code (sometimes called performance hooks) into your compiled program or module. The performance hooks enable the Performance Explorer to analyze your programs. The default for this option specifies that program entry procedure level performance-measurement code is generated for your compiled module or program.

Compiling performance collection code into the module or program allows performance data to be gathered and analyzed. The insertion of the additional collection code results in slightly larger module or program objects and may affect performance to a small degree.

Types of performance data collected include:

When performance collection code is generated into a leaf procedure, the procedure is changed so that it is no longer a leaf procedure. (A leaf procedure is one that does not call any other procedures.) This is because the leaf procedure now contains hooks to call the performance collection routines. This can be a time-consuming process.

See WebSphere Development Studio: ILE C/C++ Compiler Reference for information on these options.


[ Top of Page | Previous Page | Next Page | Table of Contents ]