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!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Ada.Execution_Time Date: Tue, 28 Dec 2010 12:01:58 +0200 Organization: Tidorum Ltd Message-ID: <8ntqsmF1ktU1@mid.individual.net> 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net cuudH3pYJVvT8BDfFmeRRwPot6m1mdz//arbA1KzsbLCxjsDH7 Cancel-Lock: sha1:u8rglw8DBGwZc+/28M0sOAM7LI0= User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:17151 Date: 2010-12-28T12:01:58+02:00 List-Id: Simon Wright wrote: > 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"? Perhaps that is the natural choice, but I did not mean the choice to be significant. Dmitry was saying that "execution time" is not "time", just because it uses the prefix or qualification "execution". By that reasoning, "awake time" would not be "time", "chicken soup" would not be "soup", etc. > 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. Randy's last post in this thread, in which he agrees with Dmitry, has the same effect on me. I hope that further discussion with Randy will converge to something. Did your earlier understanding resemble Dmitry's, or mine? Or neither? > 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. I think Time_Span and Duration are different representations of the same physical thing, a span of time that can be physically measured in seconds. The reasons for having two (possibly) different representations (two types) have been discussed before: different requirements on range and precision. Still, the differences are important only for processors that are very small and weak, in today's scale, so perhaps this distinction is no longer needed and the types could be merged. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .