1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 11:46:37 +00:00

Added indication of idle/throttling capabilities and the OS clock tick size to the SHOW VERSION output

This commit is contained in:
Mark Pizzolato
2013-03-14 11:37:31 -07:00
parent 28f645aeab
commit b31dc88d0d
3 changed files with 15 additions and 0 deletions

View File

@@ -699,6 +699,15 @@ sim_idle_rate_ms = sim_os_ms_sleep_init (); /* get OS timer rate */
return (sim_idle_rate_ms != 0);
}
/* sim_timer_idle_capable - tell if the host is Idle capable and what the host OS tick size is */
uint32 sim_timer_idle_capable (uint32 *hoat_tick_ms)
{
if (hoat_tick_ms)
*hoat_tick_ms = sim_os_sleep_min_ms;
return sim_idle_rate_ms;
}
/* sim_show_timers - show running timer information */
t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, char* desc)