From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 115aec,47cd14062de43094 X-Google-Thread: 103376,47cd14062de43094 X-Google-Attributes: gid115aec,gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!151.164.30.34!cyclone.swbell.net!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail From: Mark H Johnson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.realtime,comp.lang.ada Subject: Re: next_period = start + n*period; versus next_period = next_period+period; References: <87sm81o0vt.fsf@deneb.enyo.de> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 27 Oct 2004 08:46:29 -0500 NNTP-Posting-Host: 192.27.48.106 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.ray.com 1098884790 192.27.48.106 (Wed, 27 Oct 2004 08:46:30 CDT) NNTP-Posting-Date: Wed, 27 Oct 2004 08:46:30 CDT Organization: Raytheon Company Xref: g2news1.google.com comp.realtime:523 comp.lang.ada:5769 Date: 2004-10-27T08:46:29-05:00 List-Id: Dmitry A. Kazakov wrote: > [snip] > > Right. However there could be other issues to consider: > [snip] > > 2. What happens when the task misses a deadline? Usually it should skip one > "tick" and go to the next one. > Maybe yes, maybe no. I have built several system where if you run long in one frame, you try to catch up the next one. For example, I may have an 80 Hz task running. It is connected to a 1553 bus where at 1 Hz, I get more messages than any other 80 Hz frame. If I overrun that one frame (out of 80), I don't mind running the next frame a little late. It all depends on the application being designed and the safety (or accuracy) considerations of that design. --Mark