Example 2:
Speed up the clock by 10%.
HHC00013I Herc command: 'toddrag 0.9'
HHC02204I toddrag set to 0.9
Figure 327: TODDRAG command (set TOD clock factor)
Example 2:
Speed up the clock by 10%.
HHC00013I Herc command: 'toddrag 0.9'
HHC02204I toddrag set to 0.9
Figure 327: TODDRAG command (set TOD clock factor)
The TODPRIO command is used to change the process priority of the TOD clock and the timer threads.
See section
Caution: TODPRIO should be given a dispatching priority equal to or higher than any other thread
(CPUPRIO, DEVPRIO, HERCPRIO and SRVPRIO) within Hercules.
Descriptive
[nn]
Diagram
Êʬ¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
nn
nn
This value specifies the priority of the TOD clock and the timer thread. For details
on the priority values see section
Example 1:
Set the process priority of the TOD clock and the timer threads to 0.
HHC00013I Herc command: 'todprio -20'
HHC02204I todprio set to -20
Figure 328: TODPRIO command
Powered by Tizra® |
Example 2:
Speed up the clock by 10%.
HHC00013I Herc command: 'toddrag 0.9'
HHC02204I toddrag set to 0.9
Figure 327: TODDRAG command (set TOD clock factor)
The TODPRIO command is used to change the process priority of the TOD clock and the timer threads.
See section
Caution: TODPRIO should be given a dispatching priority equal to or higher than any other thread
(CPUPRIO, DEVPRIO, HERCPRIO and SRVPRIO) within Hercules.
Descriptive
[nn]
Diagram
Êʬ¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
nn
nn
This value specifies the priority of the TOD clock and the timer thread. For details
on the priority values see section
Example 1:
Set the process priority of the TOD clock and the timer threads to 0.
HHC00013I Herc command: 'todprio -20'
HHC02204I todprio set to -20
Figure 328: TODPRIO command
The TRACEOPT command determines how the registers are displayed during instruction tracing and
stepping. Entering the command without any argument simply displays the current trace mode.
Descriptive
Diagram
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
¬¬¬¬«
¬
TRADITIONAL
Displays the registers following the instruction about to be executed such that pres-
sing enter (to execute the displayed instruction) then shows the next instruction to
be executed followed by the updated registers display.
REGSFIRST
Displays the current register contents followed by the instruction about to be exe-
cuted such that pressing enter (to execute the displayed instruction) then shows the
updated registers followed by the next instruction to be executed.
NOREGS
Suppresses the register display altogether and shows just the instruction to be exe-
cuted.
Example 1:
Display the instruction trace in traditional mode (instruction followed by registers).
HHC00013I Herc command: 'traceopt traditional'
HHC02203I Hercules inst trace displayed: traditional mode
HHC02267I CP00: PSW=040C10000001D0C4 INST=58E00230 L 14,560(0,0) load
HHC02267I CP00: V:00000230:K:06=00000000 00000000 00000000 00FD4000 .............. .
HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00FFDE28
HHC02267I CP00: GR08=00000000 GR09=4001D0A4 GR10=00000000 GR11=00000000
HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000
HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000
HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000
HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000
HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10
HHC02267I CP00: PSW=040C10000001D0C8 INST=50E070BC ST 14,188(0,7) store
HHC02267I CP00: V:00FFDEE4:K:06=00FFDE28 00000000 4001D0A4 00000000 ........ .}u....
HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00FFDE28
HHC02267I CP00: GR08=00000000 GR09=4001D0A4 GR10=00000000 GR11=00000000
HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000
HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000
HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000
HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000
HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10
Figure 329: TRACEOPT command (TRADITIONAL)
Example 2:
Display the instruction trace in regsfirst mode (registers followed by instruction).
HHC00013I Herc command: 'traceopt regsfirst'
HHC02203I Hercules inst trace displayed: regsfirst mode
HHC02267I CP00: PSW=040C00000001D09A
HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000
HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000
HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000
HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000
HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000
HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000
HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10
INST=50700230 ST 7,560(0,0) store
HHC02267I CP00: V:00000230:K:06=00000000 00000000 00000000 00FD4000 .............. .
HHC02267I CP00: PSW=040C00000001D09E
HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000
HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000
HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000
HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000
HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000
HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000
HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10
INST=50900234 ST 9,564(0,0) store
HHC02267I CP00: V:00000234:K:06=00000000 00000000 00FD4000 070E0000 .......... .....
HHC02267I CP00: PSW=040C00000001D0A2
Figure 330: TRACEOPT command (REGSFIRST)
Powered by Tizra® |
The TRACEOPT command determines how the registers are displayed during instruction tracing and
stepping. Entering the command without any argument simply displays the current trace mode.
Descriptive
Diagram
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
¬¬¬¬«
¬
TRADITIONAL
Displays the registers following the instruction about to be executed such that pres-
sing enter (to execute the displayed instruction) then shows the next instruction to
be executed followed by the updated registers display.
REGSFIRST
Displays the current register contents followed by the instruction about to be exe-
cuted such that pressing enter (to execute the displayed instruction) then shows the
updated registers followed by the next instruction to be executed.
NOREGS
Suppresses the register display altogether and shows just the instruction to be exe-
cuted.
Example 1:
Display the instruction trace in traditional mode (instruction followed by registers).
HHC00013I Herc command: 'traceopt traditional'
HHC02203I Hercules inst trace displayed: traditional mode
HHC02267I CP00: PSW=040C10000001D0C4 INST=58E00230 L 14,560(0,0) load
HHC02267I CP00: V:00000230:K:06=00000000 00000000 00000000 00FD4000 .............. .
HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00FFDE28
HHC02267I CP00: GR08=00000000 GR09=4001D0A4 GR10=00000000 GR11=00000000
HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000
HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000
HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000
HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000
HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10
HHC02267I CP00: PSW=040C10000001D0C8 INST=50E070BC ST 14,188(0,7) store
HHC02267I CP00: V:00FFDEE4:K:06=00FFDE28 00000000 4001D0A4 00000000 ........ .}u....
HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00FFDE28
HHC02267I CP00: GR08=00000000 GR09=4001D0A4 GR10=00000000 GR11=00000000
HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000
HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000
HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000
HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000
HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10
Figure 329: TRACEOPT command (TRADITIONAL)
Example 2:
Display the instruction trace in regsfirst mode (registers followed by instruction).
HHC00013I Herc command: 'traceopt regsfirst'
HHC02203I Hercules inst trace displayed: regsfirst mode
HHC02267I CP00: PSW=040C00000001D09A
HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000
HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000
HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000
HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000
HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000
HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000
HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10
INST=50700230 ST 7,560(0,0) store
HHC02267I CP00: V:00000230:K:06=00000000 00000000 00000000 00FD4000 .............. .
HHC02267I CP00: PSW=040C00000001D09E
HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000
HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000
HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000
HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000
HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000
HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000
HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10
INST=50900234 ST 9,564(0,0) store
HHC02267I CP00: V:00000234:K:06=00000000 00000000 00FD4000 070E0000 .......... .....
HHC02267I CP00: PSW=040C00000001D0A2
Figure 330: TRACEOPT command (REGSFIRST)
HHC02284I *3F8 000000000FFD7C00 0000000000FFC000 000000000000FFC1 0E3B 0 0 0 0 00 FD57B000
HHC02284I *3F9 000000000FFD7C00 0000000000FFC800 000000000000FFC1 0E3B 0 0 1 1 00 00FFC800
HHC02284I *3FA 000000000FFD7C00 0000000000FFD000 000000000000FFD1 0E3B 0 0 0 0 00 FD57C000
HHC02284I *3FB 000000000FFD7C00 0000000000FFD800 000000000000FFD1 0E3B 0 0 1 1 00 00FFD800
HHC02284I *3FC 000000000FFD7C00 0000000000FFE000 000000000000FFE1 0E3B 0 0 1 1 00 00FFE000
HHC02284I *3FD 000000000FFD7C00 0000000000FFE800 000000000000FFE1 0E3B 0 0 1 0 00 00FFE800
HHC02284I *3FE 000000000FFD7C00 0000000000FFF000 000000000000FFF1 0E3B 0 0 0 0 00 FD57E000
HHC02284I *3FF 000000000FFD7C00 0000000000FFF800 000000000000FFF1 0E3B 0 0 1 0 00 00FFF800
HHC02284I 138 tlbID matches
Figure 325: TLB command
The TODDRAG command displays the current setting of the TOD clock drag factor or sets a new value.
This parameter can be used to slow down or speed up the TOD clock by a factor of nn. A significant slow-
down can improve the performance of some operating systems which consume large amounts of CPU
time processing timer interrupts. A drag factor of 2.0 slows down the clock by 50%, a drag factor of 0.5
doubles the speed of the clock, a drag factor of 1.01 slows down the clock by 1% and 0.99 speeds up the
clock by 1%.
Descriptive
Diagram
¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
factor
The factor to which the TOD clock has to be slowed down or sped up.
Example 1:
Display current TOD clock drag factor.
HHC00013I Herc command: 'toddrag'
HHC02203I toddrag : 1.000000
Figure 326: TODDRAG command (display TOD clock factor)
Powered by Tizra® |
HHC02284I *3F8 000000000FFD7C00 0000000000FFC000 000000000000FFC1 0E3B 0 0 0 0 00 FD57B000
HHC02284I *3F9 000000000FFD7C00 0000000000FFC800 000000000000FFC1 0E3B 0 0 1 1 00 00FFC800
HHC02284I *3FA 000000000FFD7C00 0000000000FFD000 000000000000FFD1 0E3B 0 0 0 0 00 FD57C000
HHC02284I *3FB 000000000FFD7C00 0000000000FFD800 000000000000FFD1 0E3B 0 0 1 1 00 00FFD800
HHC02284I *3FC 000000000FFD7C00 0000000000FFE000 000000000000FFE1 0E3B 0 0 1 1 00 00FFE000
HHC02284I *3FD 000000000FFD7C00 0000000000FFE800 000000000000FFE1 0E3B 0 0 1 0 00 00FFE800
HHC02284I *3FE 000000000FFD7C00 0000000000FFF000 000000000000FFF1 0E3B 0 0 0 0 00 FD57E000
HHC02284I *3FF 000000000FFD7C00 0000000000FFF800 000000000000FFF1 0E3B 0 0 1 0 00 00FFF800
HHC02284I 138 tlbID matches
Figure 325: TLB command
The TODDRAG command displays the current setting of the TOD clock drag factor or sets a new value.
This parameter can be used to slow down or speed up the TOD clock by a factor of nn. A significant slow-
down can improve the performance of some operating systems which consume large amounts of CPU
time processing timer interrupts. A drag factor of 2.0 slows down the clock by 50%, a drag factor of 0.5
doubles the speed of the clock, a drag factor of 1.01 slows down the clock by 1% and 0.99 speeds up the
clock by 1%.
Descriptive
Diagram
¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
factor
The factor to which the TOD clock has to be slowed down or sped up.
Example 1:
Display current TOD clock drag factor.
HHC00013I Herc command: 'toddrag'
HHC02203I toddrag : 1.000000
Figure 326: TODDRAG command (display TOD clock factor)