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