Article View: borland.public.cppbuilder.nativeapi
Article #4602Re: Ttimer resolution
From: Charlie K
Date: Fri, 23 Dec 2005 17:36
Date: Fri, 23 Dec 2005 17:36
31 lines
1923 bytes
1923 bytes
Boba wrote: > "Charlie K" <kupelian_charlie@nsroc.net> wrote in message > news:43ac116f$1@newsgroups.borland.com... > >>... >>I am trying to get a callback every 20 milliseconds out of a Ttimer. > > On > >>the O'Scope, I only see about a 55msec minimum. >>... > > > This is pure software limits. On a 133M machine u should get 1 ms > easily. > I recall TTimer (if it's what you mean) is fed on WM_TIMER message, > which > in turn is sent out whenever the OS feels like doing so but no more > often > than 55 times per second. Don't rely on the Borland's TTimer for what > you > are trying to achieve. I'd try mm timer instead. > Boba > > Thanks for the reply. I will check out the mm timer. Charlie K.
Technical Details
Message-ID:
<43ac3552$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43ac116f$1@newsgroups.borland.com> <43ac1691$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7dfcd49750eef3bb X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 23 Dec 2005 12:36:52 -0500 From: Charlie K <kupelian_charlie@nsroc.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Ttimer resolution References: <43ac116f$1@newsgroups.borland.com> <43ac1691$1@newsgroups.borland.com> In-Reply-To: <43ac1691$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.173.100.72 Message-ID: <43ac3552$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1135359314 65.173.100.72 (23 Dec 2005 09:35:14 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail