Article View: borland.public.cppbuilder.nativeapi
Article #11194Re: Finegrain Sleep
From: Benjamin Pratt
Date: Thu, 19 Feb 2004 17:08
Date: Thu, 19 Feb 2004 17:08
7 lines
1271 bytes
1271 bytes
> DWORD t = GetTickCount(); > while ((GetTickCount() - t) < 0.02); GetTickCount() has a resolution of 10 or 15ms depending on windows version. I this the poster needs something in the microsecond range. GetSystemTimeAsFileTime() has a resolution of 100-nanoseconds
Technical Details
Message-ID:
<4034ecd4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4033629c$1@newsgroups.borland.com> <40336c3f@newsgroups.borland.com> <40349ac7@newsgroups.borland.com> <4034d0ba@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,fed9196afef30d83 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-19 09:07:11 PST From: "Benjamin Pratt" <benjamin.pratt.getridofthis@verizon.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <4033629c$1@newsgroups.borland.com> <40336c3f@newsgroups.borland.com> <40349ac7@newsgroups.borland.com> <4034d0ba@newsgroups.borland.com> Subject: Re: Finegrain Sleep Date: Thu, 19 Feb 2004 09:08:30 -0800 Lines: 9 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 24.130.93.201 Message-ID: <4034ecd4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1077210324 24.130.93.201 (19 Feb 2004 09:05:24 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail