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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user