mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
Fixed sim_idle to account for a reasonable number of cycles which have passed when an asynchrnous event terminated the idle wait.
Also corrected the text of a printf which described the units of the asynch latency variable as nano seconds instead of microseconds.
This commit is contained in:
2
scp.c
2
scp.c
@@ -1823,7 +1823,7 @@ else {
|
||||
fprintf (st, " event delay %d, queue time %d\n", uptr->a_event_time, uptr->a_sim_interval);
|
||||
}
|
||||
}
|
||||
fprintf (st, "asynch latency: %d microseconds\n", sim_asynch_latency);
|
||||
fprintf (st, "asynch latency: %d nanoseconds\n", sim_asynch_latency);
|
||||
fprintf (st, "asynch instruction latency: %d instructions\n", sim_asynch_inst_latency);
|
||||
pthread_mutex_unlock (&sim_asynch_lock);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user