What exactly is for you? A normal window timer has an accuracy of about 100 Hz. If you want something more accurate, take a look at QueryPerformanceTimer (System.Diagnostics.Stopwatch uses it). This is wonderful and very accurate for short periods of time, but as the processor frequency changes (power management) it will go out of synchronization.
In addition, I saw the drift of the system clock for several minutes a day, so we had to install the NTP utility and schedule it (irony) for periodic launch.
Basically, we never observed submillisecond time accuracy on a Windows machine, even if some try to use the main clock as a baseline and QuerperformanceTimer as a kind of differential timer. Never worked correctly.
bh213 source share