Article View: borland.public.cppbuilder.nativeapi
Article #14952Re: Does TTimer interval including Processing Time?
From: Rodolfo Frino
Date: Wed, 23 Jul 2003 05:09
Date: Wed, 23 Jul 2003 05:09
22 lines
1791 bytes
1791 bytes
In other words, the Timer will never interrrupt a Timer Routine that is being executed (At least I have never seen it ...unless you do some magic tricks :-) Another example: Lets assume that your Intervak is 50 mS, and that you Timer Routine takes 20 mS to execute on agerage. If for some reason that routine takes 90 mS to execute (due to internal of the OS), then the timer will not trigger again at 50 mS. First the routine will complete its execution. In numbers: Timer Routine Duration = 50 mS (The routine took longer to execute) Measured Timer Interval = 60 mS (The Measured Interval has increased!) Timer Routine Duration = 20 mS (Now the routine took the average time to execute) Measured Timer Interval = 50 mS Rodolfo
Technical Details
Message-ID:
<3f1e184c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<oprsqp0tqnbq7az6@newsgroups.borland.com> <3f1e1561@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,354c421bf944414a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-22 22:09:24 PST From: "Rodolfo Frino" <rodolfofrino@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <oprsqp0tqnbq7az6@newsgroups.borland.com> <3f1e1561@newsgroups.borland.com> Subject: Re: Does TTimer interval including Processing Time? Date: Wed, 23 Jul 2003 15:09:00 +1000 Lines: 24 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: 203.206.23.168 Message-ID: <3f1e184c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058936908 203.206.23.168 (22 Jul 2003 22:08:28 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail