🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14950

Does TTimer interval including Processing Time?

#14950
From: Phuoc Can HUA
Date: Wed, 23 Jul 2003 01:49
18 lines
1604 bytes
Q1: If the interval is 50ms and the routine needs 10ms will the routine be 
called every 60ms?
If that's not the case, i.e. as long as the processing time less than the 
interval I can rely on the timer(?)

Let's say I've got 2 routines for a timer event, one is 10ms and 2nd one 
20-45ms, i.e. sometimes it will exceed the timer interval of 50ms. The 2nd 
routine is only called every 5th time of the 1st one.
Q2: If I define a 2nd timer of 250ms for the 2nd routine will it increase 
the accuracy of the timers?

thanks
Phuoc Can HUA

-- 
_/\__/\__/\__/\__/\__/\_
www.huaonline.com
My Homepage is my Castle
Technical Details
Message-ID: <oprsqp0tqnbq7az6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,354c421bf944414a,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-22 19:09:39 PST
Content-Type: text/plain; charset=iso-8859-15; format=flowed
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Does TTimer interval including Processing Time?
From: Phuoc Can HUA <home}a+t{huaonline.com>
MIME-Version: 1.0
Date: Wed, 23 Jul 2003 11:49:31 +1000
Message-ID: <oprsqp0tqnbq7az6@newsgroups.borland.com>
User-Agent: Opera7.10/Win32 M2 build 2840
NNTP-Posting-Host: 210.9.89.210
X-Trace: newsgroups.borland.com 1058925199 210.9.89.210 (22 Jul 2003 18:53:19 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail