1
0
mirror of https://github.com/simh/simh.git synced 2026-02-08 17:22:11 +00:00

Added display of the OS sleep resolution which is now displayed as an explanation if idling is unavailable.

This commit is contained in:
Mark Pizzolato
2012-04-11 07:32:06 -07:00
parent 33567b474d
commit 542c15844c
2 changed files with 28 additions and 17 deletions

View File

@@ -3459,10 +3459,8 @@ return sim_set_idle (uptr, val, cptr, desc);
t_stat cpu_show_idle (FILE *st, UNIT *uptr, int32 val, void *desc)
{
if (sim_idle_enab && (cpu_idle_type != 0)) {
if (sim_idle_enab && (cpu_idle_type != 0))
fprintf (st, "idle=%s, ", os_tab[cpu_idle_type - 1].name);
sim_show_idle (st, uptr, val, desc);
}
else fprintf (st, "idle disabled");
sim_show_idle (st, uptr, val, desc);
return SCPE_OK;
}