diff --git a/doc/simh_doc.doc b/doc/simh_doc.doc index 79b1c222..257d6cfa 100644 Binary files a/doc/simh_doc.doc and b/doc/simh_doc.doc differ diff --git a/sim_timer.c b/sim_timer.c index fbae7f36..8c9b286e 100644 --- a/sim_timer.c +++ b/sim_timer.c @@ -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: