Article View: borland.public.cppbuilder.nativeapi
Article #1762Re: WM_TIMER
From: Ed Mulroy
Date: Thu, 14 Jun 2007 21:45
Date: Thu, 14 Jun 2007 21:45
27 lines
2007 bytes
2007 bytes
I did not know that. Thanks, that's good information! . Ed > Eliot Frank wrote in message > news:46716e05@newsgroups.borland.com... >> >> WM_TIMER messages typically come in at multiples of 55 > milliseconds and > > Different versions of Windows may use different timing. Maybe Windows > 95/98 used the original PC default timing of 18.2 Hz. On my Windows XP > desktop direct measurement using GetTickCount() shows an interval of 15 or > 16 milliseconds with an average of 15.625ms corresponding to 64Hz. This > correlates with measurements using GetTickCount() on the same machine: > > Timer::Interval Measured interval Fractional seconds > 200 203 or 204 13/64 > 210 218 or 219 14/64 > 220 234 or 235 15/64 > 230 234 or 235 15/64 > 240 250 16/64 > 250 250 16/64 > > The GetSystemTimeAdjustment function also gives the time period between > the system's clock interrupts which on my system is again 15625.0 > microseconds (64 Hz).
Technical Details
Message-ID:
<4671b6e5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4670167b@newsgroups.borland.com> <46702298$1@newsgroups.borland.com> <46716e05@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ca5452dcf06fe42a X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Ed Mulroy" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <4670167b@newsgroups.borland.com> <46702298$1@newsgroups.borland.com> <46716e05@newsgroups.borland.com> Subject: Re: WM_TIMER Date: Thu, 14 Jun 2007 17:45:10 -0400 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 66.57.117.102 Message-ID: <4671b6e5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1181857509 66.57.117.102 (14 Jun 2007 14:45:09 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail