From: Dongseok Han on 23 Feb 2010 20:28 Hi. reading a Charles' famous book, I wonder why MS set the default timer resolution to 10msec. I have been trying to find the answer, but I didn't. Is it from the historical things? The book says the resolution 55 msec for 9x and 10 msec for NT. Why they do not choose less resolution for better performance? Thank you for reading.
From: Random on 23 Feb 2010 21:53 On Feb 23, 5:28 pm, Dongseok Han <xcro...(a)gmail.com> wrote: > The book says the resolution 55 msec for 9x and 10 msec for NT. > Why they do not choose less resolution for better performance? Windows is not a Real Time Operating System. Decreasing the timer resolution would not improve performance (quite the opposite). I'd suggest you read http://www.microsoft.com/whdc/system/sysinternals/mm-timer.mspx for more information on the system timer.
From: Bob Masta on 24 Feb 2010 08:06 On Tue, 23 Feb 2010 17:28:42 -0800 (PST), Dongseok Han <xcrossx(a)gmail.com> wrote: >Hi. > >reading a Charles' famous book, I wonder why MS set the default timer >resolution to 10msec. >I have been trying to find the answer, but I didn't. > >Is it from the historical things? > >The book says the resolution 55 msec for 9x and 10 msec for NT. >Why they do not choose less resolution for better performance? As far as I know, the resolution is not officially documented. On modern systems, it is in the 10-15 msec range, depending on number of CPU cores (I think). Note, however, that the multimedia timer allows 1 msec resolution across all platforms. You have to use this with caution, but it's there if you need it. Best regards, Bob Masta DAQARTA v5.00 Data AcQuisition And Real-Time Analysis www.daqarta.com Scope, Spectrum, Spectrogram, Sound Level Meter Frequency Counter, FREE Signal Generator Pitch Track, Pitch-to-MIDI DaqMusic - FREE MUSIC, Forever! (Some assembly required) Science (and fun!) with your sound card!
|
Pages: 1 Prev: Sell Your Copy of DynaZip Version 5 Next: Listview trouble |