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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cae92f92d6a1d4b1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: BrianG Newsgroups: comp.lang.ada Subject: Re: Ada.Execution_Time Date: Thu, 16 Dec 2010 12:24:17 -0500 Organization: A noiseless patient Spider Message-ID: References: <4d05e737$0$6980$9b4e6d93@newsspool4.arcor-online.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 16 Dec 2010 17:24:24 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="BssHc7ONlcOOcC5Vapr56Q"; logging-data="5174"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mKx7/7tsmqnI+g4YXnALg" User-Agent: Thunderbird 2.0.0.24 (X11/20100623) In-Reply-To: Cancel-Lock: sha1:83yD7mMNFGtiRWUhpr7gx67WCUQ= Xref: g2news2.google.com comp.lang.ada:16955 Date: 2010-12-16T12:24:17-05:00 List-Id: Simon Wright wrote: > BrianG writes: > >>> Arguably, CPU_Time is misnamed, because it is *not* >>> some sort of time type. >> Then the package is misnamed too - How is "Execution_Time" not a time? > > A 'time type' > [http://www.adaic.com/resources/add_content/standards/05rm/html/RM-9-6.html] > (6) can be used as the argument for a delay statement. Wouldn't make a > lot of sense for an execution time! (well, perhaps one could think of > some obscure use ...) (Actually for a delay_until.) That paragraph seems to contradict the previous one which says "any nonlimited type". Shouldn't (6) define Real_Time.Time since it's not Calendar.Time and isn't implementation-defined? At least now Randy's comments make sense - I hadn't realized there was a language-defined concept of special "time-types" that had special uses (I hadn't realized the standard defines a use for certain private types that is not explicitly evident in the code - any other "magic" uses like this?) > > I see the standards have moved, time to update my bookmarks!