🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2756

Re: timer resolution

#2756
From: Tom Hill
Date: Wed, 13 Jan 1993 03:14
16 lines
1169 bytes
In article <1993Jan12.221148.693@muug.mb.ca> gbrandt@muug.mb.ca (Gregor Brandt) writes:
>I need help with the windows timer resolution.   Petzold says its limited
>to the PC clock resolution, which appears to be true.  I however need
>something more accurate, in the range of 5 ro 15ms.  Can anybody help
>me?
> 
>Gregor
>
For resolution down to around a millisecond, try timeBeginPeriod and 
timeSetEvent in the multimedia developer's kit (included with c7.0).

For the best time (not callback) information, the Virtual Timer Device
provides an api for reading the 8253, which gives about 1/1.19Mhz 
resolution (minus overhead).

Tom Hill
Technical Details
Message-ID: <1993Jan13.031441.4031@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!news.cs.indiana.edu!umn.edu!csus.edu!netcom.com!hill
References: <1993Jan12.221148.693@muug.mb.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!news.cs.indiana.edu!umn.edu!csus.edu!netcom.com!hill
From: hill@netcom.com (Tom Hill)
Subject: Re: timer resolution
Message-ID: <1993Jan13.031441.4031@netcom.com>
Keywords: timer ms
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <1993Jan12.221148.693@muug.mb.ca>
Date: Wed, 13 Jan 1993 03:14:41 GMT
Lines: 19