SET FREQUENCY command
Controls whether statement executions are counted. The initial
setting is OFF.
ON- Specifies that statement executions are counted.
OFF- Specifies that statement executions are not counted.
- cu_spec
- A valid compile unit specification. If omitted, all compile units with statement information are processed.
Usage notes
- In the disassembly view,
SET FREQUENCYis not supported. - Because the collection of frequency data can add a substantial
amount of overhead, set the
SET FREQUENCYcommand toONonly when you intend to make use of this data. Do not routinely set theSET FREQUENCYcommand toONin debug sessions in which you do not intend to make use of this data. - If the
DATAoption of thePLAYBACK ENABLEcommand is in effect for the current compile unit, you can use theSET FREQUENCYcommand while you replay recorded statements by using thePLAYBACKcommands.
Example
Specify that statement executions are counted in compile units
main and subr1.
SET FREQUENCY ON (main, subr1);Refer to the following topics for more information related to the material discussed in this topic.
- Related references
- cu_spec
- LIST FREQUENCY command
- SET SUFFIX command (full-screen mode)
