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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1356f4179c1e4ef4 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: ADA task Date: 1996/09/20 Message-ID: #1/1 X-Deja-AN: 184065916 references: <96091716303787@psavax.pwfl.com> <324159A2.6220@watson.ibm.com> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-09-20T00:00:00+00:00 List-Id: In article <324159A2.6220@watson.ibm.com>, Norman H. Cohen wrote: >The Ada-95 Real-Time Annex defines certain "metrics" of real-time >performance, including metrics of the performance of both kinds of delay >statement. (See RM Section D.9.) The Annex requires implementations >claiming conformance to the Annex to document their performance with >respect to these metrics as well as with respect to several >nonquantitative aspects of real-time performance. Yeah, but let's not get carried away with this. Ada doesn't define performance, in general, and neither does any other language I know of. How long does "X := Y;" take, when X and Y are of type Integer? The RM doesn't say. So why are we so worried about the fact that delay statments might take too long? Suppose the Ada compiler makes "X := Y;" take 1 second. Is that acceptable? Well, no, but it has nothing to do with the RM. Likewise, suppose a task's delay expires, and the run-time system doesn't notice that fact for 1 second. Is that acceptable? No, but it's not the fault of the language. It's the fault of the Ada implementation, or maybe the OS it's running on top of. (I'm appalled that certain OS's can't measure time more accurately than 1/18 second!) - Bob