🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1755

Re: WM_TIMER

#1755
From: Eliot Frank
Date: Thu, 14 Jun 2007 16:34
23 lines
1870 bytes
Ed Mulroy wrote:
> 
> 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).

-Eliot
Technical Details
Message-ID: <46716e05@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4670167b@newsgroups.borland.com> <46702298$1@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
Date: Thu, 14 Jun 2007 12:34:03 -0400
From: Eliot Frank <eliot_h_frank@yahoosky.comski>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: WM_TIMER
References: <4670167b@newsgroups.borland.com> <46702298$1@newsgroups.borland.com>
In-Reply-To: <46702298$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 18.125.1.130
Message-ID: <46716e05@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1181838853 18.125.1.130 (14 Jun 2007 09:34:13 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail