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

TIMER: Provide API to determine host OS Process CPU times

This commit is contained in:
Mark Pizzolato
2024-01-02 18:24:00 -10:00
parent e8cf41bd0e
commit c8cb7a875e
2 changed files with 27 additions and 0 deletions

View File

@@ -159,6 +159,7 @@ uint32 sim_get_rom_delay_factor (void);
void sim_set_rom_delay_factor (uint32 delay);
int32 sim_rom_read_with_delay (int32 val);
double sim_host_speed_factor (void);
t_stat sim_os_process_cpu_times (double *system, double *user);
extern t_bool sim_idle_enab; /* idle enabled flag */
extern volatile t_bool sim_idle_wait; /* idle waiting flag */