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: 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!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada.Execution_Time Date: Mon, 27 Dec 2010 21:34:16 +0000 Organization: A noiseless patient Spider Message-ID: References: <4d05e737$0$6980$9b4e6d93@newsspool4.arcor-online.net> <1wmsukf0wglz3$.odnzonrpayly.dlg@40tude.net> <6n1c5myuf2uz$.10jl3ln7il3aq.dlg@40tude.net> <8n0mgnFv2sU1@mid.individual.net> <1n3o55xjdjr9t.1u33kb75y2jfl$.dlg@40tude.net> <8n1142Fto2U1@mid.individual.net> <1o5cbm4b1l20d$.19winbma6k5qw.dlg@40tude.net> <8n4mskF7mmU1@mid.individual.net> <8nm30fF7r9U1@mid.individual.net> <1akm5muxu9zni.mu91b7pubqw0$.dlg@40tude.net> <8nrg25FoucU1@mid.individual.net> <2k07hwmh6123.1pgx57welw9of$.dlg@40tude.net> <8nsa76Fj4rU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="28496"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18t0GXIT9vO3ANPxGX+4vHufvsUGFDTCzo=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:a7/yzYj5Xf8FAXaN+s+GUaz44m0= sha1:aNj+NRmdtRnudt0zj62U2vwdivM= Xref: g2news2.google.com comp.lang.ada:17140 Date: 2010-12-27T21:34:16+00:00 List-Id: Niklas Holsti writes: > Nonsense. I spend some part of my time asleep, some time awake. Both > "sleeping time" and "awake time" are (pieces of) real time. A task > spends some of its time being executed, some of its time not being > executed (waiting or ready). And, just to be clear, CPU_Time corresponds to the "awake time"? I thought I understood pretty much what was intended in the execution time annex, even if it didn't seem to have much relevance to my work, but this discussion has managed to confuse me thoroughly. A minor aside -- as a user, I find the use of Time_Span here and in Ada.Real_Time very annoying. It's perfectly clear that what's meant is Duration.