From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: An Example for Ada.Execution_Time
Date: Fri, 31 Dec 2010 10:11:51 +0100
Date: 2010-12-31T10:11:48+01:00 [thread overview]
Message-ID: <1fb06tjt2dy1y$.1tkafcv9oya2w.dlg@40tude.net> (raw)
In-Reply-To: ifj5u9$rr5$1@news.eternal-september.org
On Thu, 30 Dec 2010 18:51:30 -0500, BrianG wrote:
> Since D.16 defines CPU_Time as if it were a numeric value, is it too
> much to ask why a conversion to some form of numeric value wasn't
> provided?
But time is not a number and was not defined as if it were. It is the time
differences which are numeric. RM D.14 defines differences of CPU_Time as
Time_Span. Time_Span is numeric.
I think this is the core of misunderstanding. The thing you have in mind is
"time interval since the task start according to the execution time clock."
It is not Ada.Execution_Time.Clock, it is:
Ada.Execution_Time.Clock - CPU_Time_First
There is a direct correspondence between two, yet they are conceptually
different things.
Happy New Year,
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2010-12-31 9:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-27 18:26 An Example for Ada.Execution_Time anon
2010-12-28 2:31 ` BrianG
2010-12-28 13:43 ` anon
2010-12-29 3:10 ` Randy Brukardt
2010-12-30 23:51 ` BrianG
2010-12-31 9:11 ` Dmitry A. Kazakov [this message]
2010-12-31 12:42 ` Niklas Holsti
2010-12-31 14:15 ` Dmitry A. Kazakov
2010-12-31 18:57 ` Niklas Holsti
2011-01-01 13:39 ` Dmitry A. Kazakov
2011-01-01 20:25 ` Niklas Holsti
2011-01-03 8:50 ` Dmitry A. Kazakov
2010-12-31 13:05 ` Simon Wright
2010-12-31 14:14 ` Dmitry A. Kazakov
2010-12-31 14:24 ` Robert A Duff
2010-12-31 22:40 ` Simon Wright
2011-01-01 0:07 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox