The normal timers (system.timers.timer) are not accurate on fast timings. The thread sleep instruction timer also is often not. A minimum resolution may be 15mS or it may 55mS. Also it seems that if you specify a time of say 10mS, this will get rounded up to match the nearest time resolution – basically crap! […]
Category: Timer and Timing
Stopwatch
Stopatch is an accurate timeout timer, but it doesn’t Generate Events The stopwatch timer accurately measures elapsed time.If the PC supports a high-resolution performance counter, then the Stopwatch class uses that counter to measure elapsed time. Otherwise it uses the system timer. Use the Frequency and IsHighResolution fields to determine the precision and resolution if […]
Sleep
Sleep thread