8.77 ICOUNT (Display individual instruction counts)

8.77.1 Function

The ICOUNT command displays statistic information about how often every single machine instruction
has been executed so far. By default the list sorted by the instruction code. An additional SORT option
displays the instructions sorted by the usage count and percentage of usage

The command is only available if Hercules is built with the “OPTION_INSTRUCTION_COUNTING”
option. This option is not activated by default because ICOUNT is a debugging command.

8.77.2 Syntax

Descriptive

[

Diagram

Êʬ¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




¬¬¬¬«




8.77.3 Parameter

SORT

Displays the instructions sorted by the usage count and percentage of usage.

CLEAR

Clears the counters and start counting from zero.

8.77.4 Examples

Example 1:

Display the individual instruction counts.

HHC00013I Herc command: 'icount'

HHC02292I Instruction count display:

HHC02292I Inst '04' count 32688

HHC02292I Inst '05' count 3695113

HHC02292I Inst '06' count 1211081

HHC02292I Inst '07' count 5523916

HHC02292I Inst '08' count 30274

HHC02292I Inst '09' count 46739

HHC02292I Inst '0A' count 95360

HHC02292I Inst '0E' count 20764

HHC02292I Inst '0F' count 955

HHC02292I Inst '10' count 113522

HHC02292I Inst '11' count 38753

HHC02292I Inst '12' count 5743006

HHC02292I Inst '13' count 189520

HHC02292I Inst '14' count 625578

HHC02292I Inst '15' count 504659

HHC02292I Inst '16' count 148266

HHC02292I Inst '17' count 114403

HHC02292I Inst '18' count 12153723

HHC02292I Inst '19' count 4082623

HHC02292I Inst '1A' count 586980

HHC02292I Inst '1B' count 2519610

HHC02292I Inst '1C' count 4505

HHC02292I Inst '1D' count 25093

HHC02292I Inst '1E' count 1237759

HHC02292I Inst '1F' count 6595895

.

several lines not displayed

.

HHC02292I Inst 'B6' count 78

HHC02292I Inst 'B7' count 46856

HHC02292I Inst 'BA' count 1518619

HHC02292I Inst 'BB' count 584272

HHC02292I Inst 'BD' count 464448

HHC02292I Inst 'BE' count 538116

HHC02292I Inst 'BF' count 877819

HHC02292I Inst 'D1' count 234238

HHC02292I Inst 'D2' count 2827438

HHC02292I Inst 'D3' count 64695

HHC02292I Inst 'D4' count 8923

HHC02292I Inst 'D5' count 945073

HHC02292I Inst 'D6' count 104993

HHC02292I Inst 'D7' count 722277

HHC02292I Inst 'DC' count 1641

HHC02292I Inst 'DD' count 4296

HHC02292I Inst 'DE' count 80

HHC02292I Inst 'F1' count 43

HHC02292I Inst 'F2' count 411

HHC02292I Inst 'F3' count 1741

HHC02292I Inst 'F8' count 2

Figure 158: ICOUNT command

Previous Page Next Page