From: bf14@prism.gatech.edu (Brian Franklin)
Subject: Re: Timing of ADA code
Date: 1998/07/31
Date: 1998-07-31T00:00:00+00:00 [thread overview]
Message-ID: <35c23701.67387591@news.gatech.edu> (raw)
In-Reply-To: 6pssib$r9c$1@nnrp1.dejanews.com
On Fri, 31 Jul 1998 16:49:15 GMT, dennison@telepath.com wrote:
>In article <35c1cf02.40761361@news.gatech.edu>,
> bf14@prism.gatech.edu (Brian Franklin) wrote:
>> On Fri, 31 Jul 1998 13:15:17 GMT, dennison@telepath.com wrote:
>>
>> >In article <35c12689.217545056@news.gatech.edu>,
>> > bf14@prism.gatech.edu (Brian Franklin) wrote:
>> >> I want to measure the execution time of portions of my ADA code. What
>> >> code do I need to add the my code to do this?
>> >>
>> >> I'm using GNAT on a PC.
>> >>
>> >
>> >What OS?
>> Windows 95
>> >
>> >CPU time or wall time?
>> CPU
>> (What's wall time?)
>The actual time elapsed (including time spent doing nothing while another
>process or task is executing). iaw: The time elapsed as reported by the clock
>on the wall.
>
>Ada gives you a standard way to get "wall" time, but you will have to make OS
>calls to get CPU time. That turns your question into:
>
OK, In that case "wall" time will do. My PC has a dedicated processor
and hopefully any other tasks it chooses to do (if done) will not
affect the result. I guess basically I just need the time when the
process starts and the time when it finishes.
next prev parent reply other threads:[~1998-07-31 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-31 0:00 Timing of ADA code Brian Franklin
[not found] ` <6psg15$a56$1@nnrp1.dejanews.com>
1998-07-31 0:00 ` Brian Franklin
1998-07-31 0:00 ` dennison
1998-07-31 0:00 ` Brian Franklin [this message]
1998-08-01 0:00 ` Jerry van Dijk
1998-08-01 0:00 ` Brian Franklin
1998-08-01 0:00 ` Tom Moran
1998-08-03 0:00 ` dennison
-- strict thread matches above, loose matches on Subject: below --
1998-07-31 0:00 tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox