Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Windows timing functions

  1. Apr 16, 2004 #1
    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?
  2. jcsd
  3. Apr 16, 2004 #2


    User Avatar
    Staff Emeritus

  4. Apr 18, 2004 #3
    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook