From: dmitry6243@my-dejanews.com
Subject: Re: System Clock update rate of 0.055 milliseconds in DOS/Win95 and Ada.Calendar
Date: 1999/01/13
Date: 1999-01-13T00:00:00+00:00 [thread overview]
Message-ID: <77hno2$8hh$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 77aapg$cnj$1@nnrp1.dejanews.com
Tom Moran wrote:
> Win95 has a system call to release the CPU until a certain time.
> That time has a 55ms resolution. So, without fancy footwork, you
> can't get interrupts with smaller resolution. I think NT sets
> the interrupt time to 10ms. Of course, if the system decides to
> flush the disk cache or something, it may be quite a bit longer
> before you get the CPU.
However it is possible (with heavy performance penalty!) to diminish the clock
resolution up to 1 ms under NT (see timeBeginPeriod from winmm.dll). I didn't
find it in Win32 bindings, but I believe it should not be a great problem.
Dmitry Kazakov
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
next prev parent reply other threads:[~1999-01-13 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-10 0:00 System Clock update rate of 0.055 milliseconds in DOS/Win95 and Ada.Calendar Craig Garrett
1999-01-09 0:00 ` Paul Whittington
1999-01-10 0:00 ` robert_dewar
1999-01-13 0:00 ` dmitry6243 [this message]
1999-01-13 0:00 ` Tom Moran
1999-01-10 0:00 ` Tom Moran
1999-01-10 0:00 ` Craig Garrett
1999-01-10 0:00 ` Tom Moran
1999-01-11 0:00 ` dennison
[not found] ` <369A7B97.6AC0CA00@hercii.mar.lmco.com>
1999-01-12 0:00 ` David C. Hoos, Sr.
1999-01-12 0:00 ` Tom Moran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox