home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: 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
-
- 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
-
-
-
-