emu86 icon indicating copy to clipboard operation
emu86 copied to clipboard

Adaptative IPS

Open mfld-fr opened this issue 3 years ago • 1 comments

First ELKS port to 8018X revealed that a better timing accuracy is needed to predict the target responsiveness. As the main loop frequency is already measured, the idea is to compute ratios for timer frequency and CPU IPS, and adapt the emulator IPS to match the emulator timer frequency.

Example for the R8810: Tfreq = 5 MHz, Efreq = 3 MHz -> Rf = 0.6 Tips = 1.3 M -> Eips = 0,78 M -> Ri = 0.26 The emulator should execute 26 instructions per 100 iterations.

@cocus : what would be the OR566 frequencies ?

mfld-fr avatar May 23 '21 09:05 mfld-fr