mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
TIMER: Timing corrections and enhancements
- Add support to query remaining usecs on pending events. - Generalized the sim_interval adjustment in sim_idle to allow more than a single decrement. - More overhead reduction when idling. - Carry usec values as double through out to fully support long wall clock delays.
This commit is contained in:
@@ -117,7 +117,7 @@ int32 sim_rtc_calb (int32 ticksper);
|
||||
t_stat sim_set_timers (int32 arg, CONST char *cptr);
|
||||
t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc);
|
||||
t_stat sim_show_clock_queues (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
|
||||
t_bool sim_idle (uint32 tmr, t_bool sin_cyc);
|
||||
t_bool sim_idle (uint32 tmr, int sin_cyc);
|
||||
t_stat sim_set_throt (int32 arg, CONST char *cptr);
|
||||
t_stat sim_show_throt (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr);
|
||||
t_stat sim_set_idle (UNIT *uptr, int32 val, CONST char *cptr, void *desc);
|
||||
@@ -133,9 +133,9 @@ void sim_start_timer_services (void);
|
||||
void sim_stop_timer_services (void);
|
||||
t_stat sim_timer_change_asynch (void);
|
||||
t_stat sim_timer_activate (UNIT *uptr, int32 interval);
|
||||
t_stat sim_timer_activate_after (UNIT *uptr, uint32 usec_delay);
|
||||
t_stat sim_timer_activate_after_d (UNIT *uptr, double usec_delay);
|
||||
t_stat sim_timer_activate_after (UNIT *uptr, double usec_delay);
|
||||
int32 sim_timer_activate_time (UNIT *uptr);
|
||||
double sim_timer_activate_time_usecs (UNIT *uptr);
|
||||
t_bool sim_timer_is_active (UNIT *uptr);
|
||||
t_bool sim_timer_cancel (UNIT *uptr);
|
||||
t_stat sim_register_clock_unit (UNIT *uptr);
|
||||
|
||||
Reference in New Issue
Block a user