Article View: borland.public.cppbuilder.nativeapi
Article #4601Re: Ttimer resolution
From: Boba
Date: Fri, 23 Dec 2005 17:30
Date: Fri, 23 Dec 2005 17:30
18 lines
1532 bytes
1532 bytes
"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
Technical Details
Message-ID:
<43ac1691$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43ac116f$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 From: "Boba" <Boba@somewhere.world> Newsgroups: borland.public.cppbuilder.nativeapi References: <43ac116f$1@newsgroups.borland.com> Subject: Re: Ttimer resolution Date: Fri, 23 Dec 2005 09:30:11 -0800 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.238.237.58 Message-ID: <43ac1691$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1135351441 24.238.237.58 (23 Dec 2005 07:24:01 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail