1
0
mirror of https://github.com/simh/simh.git synced 2026-01-29 21:21:31 +00:00

SCP: Make debug timestamps consistent when in NOCALIBRATE mode

This commit is contained in:
Mark Pizzolato
2024-04-04 09:56:18 -10:00
parent b6f02f3e0c
commit b404ccd050
5 changed files with 30 additions and 11 deletions

View File

@@ -102,11 +102,13 @@ int clock_gettime(int clock_id, struct timespec *tp);
#define TIMER_DBG_MUX 0x004 /* Debug Flag for Asynch Queue Debugging */
t_bool sim_timer_init (void);
void sim_timespec_diff (struct timespec *diff, struct timespec *min, struct timespec *sub);
void sim_timespec_diff (struct timespec *diff, struct timespec *min, const struct timespec *sub);
double sim_timenow_double (void);
int32 sim_rtcn_init (int32 time, int32 tmr);
int32 sim_rtcn_init_unit (UNIT *uptr, int32 time, int32 tmr);
int32 sim_rtcn_init_unit_ticks (UNIT *uptr, int32 time, int32 tmr, int32 ticksper);
void sim_rtcn_set_debug_basetime (const struct timespec *basetime);
const struct timespec *sim_rtcn_get_debug_basetime (void);
void sim_rtcn_debug_time (struct timespec *now);
void sim_rtcn_get_time (struct timespec *now, int tmr);
time_t sim_get_time (time_t *now);