Why do Windows timing functions have poor resolution and accuracy?

  • Thread starter Thread starter Dissident Dan
  • Start date Start date
  • Tags Tags
    Functions Windows
AI Thread Summary
Counting time on computers, particularly in Windows XP, is often less accurate than expected due to limitations in the operating system's time functions, which typically offer a resolution of only 5-8 milliseconds and can exhibit non-monotonic jitter. This raises concerns about the reliability of timekeeping in computing environments. Additionally, the clock crystals used in computers are not as precise as those found in inexpensive watches, leading to further discrepancies in time measurement. Users seeking high-resolution and accurate timers in Windows XP are encouraged to explore alternative solutions to improve timekeeping accuracy.
Dissident Dan
Messages
236
Reaction score
2
One would think that counting time would be one of the simplest functions that a computer could do, given that computers generally operate based on fixed frequencies, which I believe are generated by crystals.

However, the windows time functions that I know are horrible. Firstly, they have horrible resolution, being able to get them down to about 5-8ms at best. Also, there are sometimes non-monotonicly increasing jitters.

Does anyone know of any simple ways to have high-resolution, accurate timers in Windows XP?
 
Computer science news on Phys.org
http://www.cl.cam.ac.uk/users/kw217/useful/win32time.html
 
Last edited by a moderator:
Dissident Dan said:
One would think that counting time would be one of the simplest functions that a computer could do, given that computers generally operate based on fixed frequencies, which I believe are generated by crystals.

The clock crystals in a computer aren't actually that good for producing accurate times. A $5 department store watch will keep better time than your computer will.
 
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
Back
Top