From: BrianG <briang000@gmail.com>
Subject: Re: An Example for Ada.Execution_Time
Date: Mon, 27 Dec 2010 21:31:06 -0500
Date: 2010-12-27T21:31:06-05:00 [thread overview]
Message-ID: <ifbi5c$rqt$1@news.eternal-september.org> (raw)
In-Reply-To: <ifaloj$j2e$1@news.ett.com.ua>
anon@att.net wrote:
> You ask for an example.
I'll assume I am the "you". (Since you don't specify and didn't relate
it to the original thread.)
I asked for:
>> An algorithm comparison program might look like:
>>
>> with Ada.Execution_Time ;
>> with Ada.Execution_Time.Timers ;
>Given the below program, please add some of the missing details to
>show how this can be useful without also "with Ada.Real_Time".
>Neither Execution_Time or Execution_Time.Timers provides any value
>that can be used directly.
>
>>
>> procedure Compare_Algorithm is
>...]
You provided:
>
> Here is an example for packages (Tested using MaRTE):
...
> with Ada.Execution_Time ;
> with Ada.Real_Time ;
...
> with Ada.Execution_Time ;
> with Ada.Execution_Time.Timers ;
> with Ada.Real_Time ;
...
As the extracts show, you could not do what I asked for. You said in
the original post you could do it with only the 2 Execution_Time
'with's. My entire point in this thread is that Execution_Time, as
defined, is useless by itself.
--BrianG
next prev parent reply other threads:[~2010-12-28 2:31 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 [this message]
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
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