TIMER: Clarify throttling behavior displayed in SHOW for I/T mode
This commit is contained in:
parent
85c27bb099
commit
1e8af71081
2 changed files with 4 additions and 1 deletions
BIN
doc/simh_doc.doc
BIN
doc/simh_doc.doc
Binary file not shown.
|
@ -1602,6 +1602,8 @@ else {
|
|||
sim_throt_val = (uint32) (val * (1 + (sim_idle_rate_ms / val2)));
|
||||
}
|
||||
}
|
||||
sim_throt_state = SIM_THROT_STATE_THROTTLE; /* force state */
|
||||
sim_throt_wait = sim_throt_val;
|
||||
}
|
||||
}
|
||||
sim_register_internal_device (&sim_throttle_dev); /* Register Throttle Device */
|
||||
|
@ -1635,7 +1637,8 @@ else {
|
|||
break;
|
||||
|
||||
case SIM_THROT_SPC:
|
||||
fprintf (st, "Throttle: sleep %d ms every %d cycles\n", sim_throt_sleep_time, sim_throt_val);
|
||||
fprintf (st, "Throttle: %d/%d\n", sim_throt_val, sim_throt_sleep_time);
|
||||
fprintf (st, "Throttling by sleeping for: %d ms every %d cycles\n", sim_throt_sleep_time, sim_throt_val);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue