LIST FREQUENCY command

Lists statement execution counts.

Read syntax diagramSkip visual syntax diagramLISTFREQUENCYLINESSTATEMENTSstatement_id_range(,statement_id_range)*;
*
Lists frequency for all statements in the currently qualified compile unit. If currently executing at the AT TERMINATION breakpoint where there is no qualification available, it will list frequency for all statements in all the compile units in the terminating enclave where frequency data exists.
LINES
Displays the source line after the frequency count.
STATEMENT
Equivalent to LINES.

Usage notes

  • In the disassembly view, LIST FREQUENCY and LIST FREQUENCY * are not supported.
  • When you replay recorded statements by using the PLAYBACK commands, the frequency count is not updated.

Examples

  • List frequency for statements 1-20.
    LIST FREQUENCY 1 - 20;
  • List frequency and statement for statements 18 - 19:
    LIST FREQUENCY LINES 18-19;
  • List frequency for all statements in the currently qualified compile unit.
    LIST FREQUENCY *;
  • List frequency for all statements in all compile units.
    AT TERMINATION LIST FREQUENCY *;

Refer to the following topics for more information related to the material discussed in this topic.