Trixter
Veteran Member
The microsecond timings are run-once; they are neither an average, nor a count. Interrupts are always disabled while any individual test is occuring.
The calculation of the Score that gets into the database is also done with interrupts disabled, so that is also fine. The realtime Score, however, is done with interrupts enabled between each run to increase the responsiveness of that screen. I am not surprised that moving the mouse or smashing the keys can affect it, because I've done that myself
The microsecond timings shouldn't vary that much since interrupts are disabled while each one runs; any variance would be small due to DRAM refresh. But the Score can indeed jump.
I could alter the realtime display so that interrupts are disabled while the Score is being calculated, but that runs the risk of borking system processes that handle communication, like mouse or network card drivers. It's bad form to disable interrupts for too long. So, for best results in the realtime display, boot clean and don't touch anything
The calculation of the Score that gets into the database is also done with interrupts disabled, so that is also fine. The realtime Score, however, is done with interrupts enabled between each run to increase the responsiveness of that screen. I am not surprised that moving the mouse or smashing the keys can affect it, because I've done that myself
I could alter the realtime display so that interrupts are disabled while the Score is being calculated, but that runs the risk of borking system processes that handle communication, like mouse or network card drivers. It's bad form to disable interrupts for too long. So, for best results in the realtime display, boot clean and don't touch anything