PrOpHeT
02-06-2006, 07:39 PM
Doe anyone have any good technical resources on the max/min resolution of timers in .net?
P.S. and thier accuracy in comparison to the RTC?
P.S. and thier accuracy in comparison to the RTC?
Maximun Time resolutionPrOpHeT 02-06-2006, 07:39 PM Doe anyone have any good technical resources on the max/min resolution of timers in .net? P.S. and thier accuracy in comparison to the RTC? Iceplug 02-07-2006, 04:32 PM What's RTC? If I remember correctly, timer components have resolution only to 10ms, but only guaranteed in the articles to 55 ms. Server timers in the System.Timers namespace are much more accurate - perhaps you are asking about those? throwaway18 02-07-2006, 04:43 PM Real Time Clock meaning the rectanglar black plastic lump on the motherboard that contains a clock which continues working when the computer is off, usually with a coin cell to power it. Their long accuracy is not amazing, mainly due to the effect of temperature on the 32Khz crystal that controls the timing. It's also worth noting that operating systems ususally only read the RTC at boot. It's hardware interface is a relic from the original PC's 25 years ago. Thats why the clock in the broken versions of windows (95/98/me) sometimes drifted by hours PrOpHeT 02-08-2006, 07:52 AM Thats where the question stemed from. if the os sets its time in relation to the rtc at boot, and the rtc is prone to temperature varations in timing does it ultimately affect the resolution of time in the os and therefor vb? Does vb draw its time resolution from the os? For example if the RTC's accuracy is varied by +-10ms per 20° will a 20° temperaure variation between machines cause a +-10ms variation in what vb considers a second or will it hold true 1000ms (+- its own resolution restrictions) is a second no matter what the system timer reads? |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum