According to this Wikipedia page (https://en.wikipedia.org/wiki/System_time#Implementation) computers use a programmable interval timer (PIT) that periodically interrupts (when reaching a certain value) the CPU with a timer interrupt routine, adding one tick to the system clock.
Could I make the computer go faster (for processes that use system time as reference) if I alter the value required for the PIT so that it is lower? that way the PIT would generate an interrupt more frequently and the system time would increase faster.
My objective is to make the computer execute time-sensitive processes faster than it should. For example, when playing an audio file, the audio would sound accelerated, or when using an instruction like time.sleep(5)
in python, the real-time would actually be lower than 5 seconds (so it would be wrong). I dont want more precision I want the computer to have an internal clock that does not reflect real-time. Is this possible? Maybe altering the hardware?