ILE C/C++ Compiler Reference

ENBPFRCOL

Specifies whether performance data measurement code should be generated in the object. The collected data that can be used by the system performance tool to profile an application's performance. Generating performance measurement code in an object will result in slightly larger objects and may affect performance.

|--+-------------------------------------------------+----------|
   |             .-*PEP-------------------------.    |
   '-ENBPFRCOL(--+------------------------------+--)-'
                 '-+-*ENTRYEXIT-+--+-*ALLPRC--+-'
                   '-*FULL------'  '-*NONLEAF-'
 
 

*PEP
Default setting. Performance statistics are only gathered on the entry and exit of the program entry procedure. Choose this value when you want to gather overall performance information for an application. This support is equivalent to the support that was formerly provided with the TPST tool.
*ENTRYEXIT *NONLEAF
Performance statistics are gathered on the entry and exit of all the program's procedures that are not leaf procedures. This includes the program PEP routine.

This choice is useful if you want to capture information on routines that call other routines in your application.

*ENTRYEXIT *ALLPRC
Performance statistics are gathered on the entry and exit of all the object's procedures (including those that are leaf procedures). This includes the program PEP routine.

This choice is useful if you want to capture information on all routines. Use this option when you know that all the programs called by your application were compiled with either the *PEP, *ENTRYEXIT or *FULL option. Otherwise, if your application calls other objects that are not enabled for performance measurement, the performance tool will charge their use of resources against your application. This would make it difficult to determine where resources are actually being used.

*FULL *NONLEAF
Performance statistics are gathered on entry and exit of all procedures that are not leaf procedures. Statistics are gathered before and after each call to an external procedure.
*FULL *ALLPRC
Performance statistics are gathered on the entry and exit of all procedures that includes leaf procedures. Also, statistics are gathered before and after each call to an external procedure.

Use this option if your application will call other objects that were not compiled with either *PEP, *ENTRYEXIT or *FULL. This option allows the performance tools to distinguish between resources that are used by your application and those used by objects it calls (even if those objects are not enabled for performance measurement). This option is the most expensive, but allows for selectively analyzing various programs in an application.

*NONE
No performance data will be collected for this object. Use this parameter when no performance information is needed, and a smaller object size is desired.


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