SIM_NTIMERS 57 src/simh/sim_timer.c #define SIM_INTERNAL_CLK (SIM_NTIMERS+(1<<30)) SIM_NTIMERS 78 src/simh/sim_timer.c static UNIT *sim_clock_unit[SIM_NTIMERS+1] = {NULL}; SIM_NTIMERS 79 src/simh/sim_timer.c UNIT * volatile sim_clock_cosched_queue[SIM_NTIMERS+1] = {NULL}; SIM_NTIMERS 80 src/simh/sim_timer.c static int32 sim_cosched_interval[SIM_NTIMERS+1]; SIM_NTIMERS 292 src/simh/sim_timer.c static int32 rtc_ticks[SIM_NTIMERS+1] = { 0 }; /* ticks */ SIM_NTIMERS 293 src/simh/sim_timer.c static uint32 rtc_hz[SIM_NTIMERS+1] = { 0 }; /* tick rate */ SIM_NTIMERS 294 src/simh/sim_timer.c static uint32 rtc_rtime[SIM_NTIMERS+1] = { 0 }; /* real time */ SIM_NTIMERS 295 src/simh/sim_timer.c static uint32 rtc_vtime[SIM_NTIMERS+1] = { 0 }; /* virtual time */ SIM_NTIMERS 296 src/simh/sim_timer.c static double rtc_gtime[SIM_NTIMERS+1] = { 0 }; /* instruction time */ SIM_NTIMERS 297 src/simh/sim_timer.c static uint32 rtc_nxintv[SIM_NTIMERS+1] = { 0 }; /* next interval */ SIM_NTIMERS 298 src/simh/sim_timer.c static int32 rtc_based[SIM_NTIMERS+1] = { 0 }; /* base delay */ SIM_NTIMERS 299 src/simh/sim_timer.c static int32 rtc_currd[SIM_NTIMERS+1] = { 0 }; /* current delay */ SIM_NTIMERS 300 src/simh/sim_timer.c static int32 rtc_initd[SIM_NTIMERS+1] = { 0 }; /* initial delay */ SIM_NTIMERS 301 src/simh/sim_timer.c static uint32 rtc_elapsed[SIM_NTIMERS+1] = { 0 }; /* sec since init */ SIM_NTIMERS 302 src/simh/sim_timer.c static uint32 rtc_calibrations[SIM_NTIMERS+1] = { 0 }; /* calibration count */ SIM_NTIMERS 303 src/simh/sim_timer.c static double rtc_clock_skew_max[SIM_NTIMERS+1] = { 0 }; /* asynchronous max skew */ SIM_NTIMERS 304 src/simh/sim_timer.c static double rtc_clock_start_gtime[SIM_NTIMERS+1] = { 0 }; /* reference instruction time for clock */ SIM_NTIMERS 305 src/simh/sim_timer.c static double rtc_clock_tick_size[SIM_NTIMERS+1] = { 0 }; /* 1/hz */ SIM_NTIMERS 306 src/simh/sim_timer.c static uint32 rtc_calib_initializations[SIM_NTIMERS+1] = { 0 }; /* Initialization Count */ SIM_NTIMERS 307 src/simh/sim_timer.c static double rtc_calib_tick_time[SIM_NTIMERS+1] = { 0 }; /* ticks time */ SIM_NTIMERS 308 src/simh/sim_timer.c static double rtc_calib_tick_time_tot[SIM_NTIMERS+1] = { 0 }; /* ticks time - total*/ SIM_NTIMERS 309 src/simh/sim_timer.c static uint32 rtc_calib_ticks_acked[SIM_NTIMERS+1] = { 0 }; /* ticks Acked */ SIM_NTIMERS 310 src/simh/sim_timer.c static uint32 rtc_calib_ticks_acked_tot[SIM_NTIMERS+1] = { 0 }; /* ticks Acked - total */ SIM_NTIMERS 311 src/simh/sim_timer.c static uint32 rtc_clock_ticks[SIM_NTIMERS+1] = { 0 }; /* ticks delivered since catchup base */ SIM_NTIMERS 312 src/simh/sim_timer.c static uint32 rtc_clock_ticks_tot[SIM_NTIMERS+1] = { 0 }; /* ticks delivered since catchup base - total */ SIM_NTIMERS 313 src/simh/sim_timer.c static double rtc_clock_catchup_base_time[SIM_NTIMERS+1] = { 0 }; /* reference time for catchup ticks */ SIM_NTIMERS 314 src/simh/sim_timer.c static uint32 rtc_clock_catchup_ticks[SIM_NTIMERS+1] = { 0 }; /* Record of catchups */ SIM_NTIMERS 315 src/simh/sim_timer.c static uint32 rtc_clock_catchup_ticks_tot[SIM_NTIMERS+1] = { 0 }; /* Record of catchups - total */ SIM_NTIMERS 316 src/simh/sim_timer.c static t_bool rtc_clock_catchup_pending[SIM_NTIMERS+1] = { 0 }; /* clock tick catchup pending */ SIM_NTIMERS 317 src/simh/sim_timer.c static t_bool rtc_clock_catchup_eligible[SIM_NTIMERS+1] = { 0 }; /* clock tick catchup eligible */ SIM_NTIMERS 318 src/simh/sim_timer.c static uint32 rtc_clock_time_idled[SIM_NTIMERS+1] = { 0 }; /* total time idled */ SIM_NTIMERS 319 src/simh/sim_timer.c static uint32 rtc_clock_calib_skip_idle[SIM_NTIMERS+1] = { 0 }; /* Calibrations skipped due to idling */ SIM_NTIMERS 320 src/simh/sim_timer.c static uint32 rtc_clock_calib_gap2big[SIM_NTIMERS+1] = { 0 }; /* Calibrations skipped Gap Too Big */ SIM_NTIMERS 321 src/simh/sim_timer.c static uint32 rtc_clock_calib_backwards[SIM_NTIMERS+1] = { 0 }; /* Calibrations skipped Clock Running Backwards */ SIM_NTIMERS 323 src/simh/sim_timer.c UNIT sim_timer_units[SIM_NTIMERS+1]; /* one for each timer and one for an */ SIM_NTIMERS 351 src/simh/sim_timer.c for (tmr = 0; tmr <= SIM_NTIMERS; tmr++) SIM_NTIMERS 367 src/simh/sim_timer.c tmr = SIM_NTIMERS; SIM_NTIMERS 369 src/simh/sim_timer.c if ((tmr < 0) || (tmr >= SIM_NTIMERS)) SIM_NTIMERS 416 src/simh/sim_timer.c tmr = SIM_NTIMERS; SIM_NTIMERS 418 src/simh/sim_timer.c if ((tmr < 0) || (tmr >= SIM_NTIMERS)) SIM_NTIMERS 446 src/simh/sim_timer.c for (tmr=0; tmr<=SIM_NTIMERS; tmr++) { SIM_NTIMERS 478 src/simh/sim_timer.c for (tmr=clocks=0; tmr<=SIM_NTIMERS; ++tmr) { SIM_NTIMERS 485 src/simh/sim_timer.c (tmr == SIM_NTIMERS) ? "Internal Calibrated Timer(" : "", SIM_NTIMERS 487 src/simh/sim_timer.c (tmr == SIM_NTIMERS) ? ")" : ""); SIM_NTIMERS 550 src/simh/sim_timer.c for (tmr=0; tmr<=SIM_NTIMERS; ++tmr) { SIM_NTIMERS 613 src/simh/sim_timer.c SIM_NTIMERS+1, 0, 0, 0, 0, 0, SIM_NTIMERS 743 src/simh/sim_timer.c for (tmr=0; tmr<SIM_NTIMERS; tmr++) { SIM_NTIMERS 748 src/simh/sim_timer.c if (tmr == SIM_NTIMERS) { /* None found? */ SIM_NTIMERS 751 src/simh/sim_timer.c sim_calb_tmr = SIM_NTIMERS; SIM_NTIMERS 763 src/simh/sim_timer.c if (sim_calb_tmr == SIM_NTIMERS) { /* was old the internal timer? */ SIM_NTIMERS 765 src/simh/sim_timer.c rtc_initd[SIM_NTIMERS] = 0; SIM_NTIMERS 766 src/simh/sim_timer.c rtc_hz[SIM_NTIMERS] = 0; SIM_NTIMERS 769 src/simh/sim_timer.c while (sim_clock_cosched_queue[SIM_NTIMERS] != QUEUE_LIST_END) { SIM_NTIMERS 770 src/simh/sim_timer.c UNIT *uptr = sim_clock_cosched_queue[SIM_NTIMERS]; SIM_NTIMERS 805 src/simh/sim_timer.c for (tmr=0; tmr<=SIM_NTIMERS; tmr++) { SIM_NTIMERS 858 src/simh/sim_timer.c for (tmr=0; tmr<=SIM_NTIMERS; tmr++) SIM_NTIMERS 882 src/simh/sim_timer.c tmr = SIM_NTIMERS; SIM_NTIMERS 884 src/simh/sim_timer.c if ((tmr < 0) || (tmr >= SIM_NTIMERS)) SIM_NTIMERS 911 src/simh/sim_timer.c for (tmr=0; tmr<SIM_NTIMERS; tmr++) { SIM_NTIMERS 84 src/simh/sim_timer.h extern UNIT * volatile sim_clock_cosched_queue[SIM_NTIMERS+1];