comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison<dennison@telepath.com>
Subject: Re: CPU time for Win32 & GNAT
Date: Mon, 15 Oct 2001 14:33:58 GMT
Date: 2001-10-15T14:33:58+00:00	[thread overview]
Message-ID: <qtCy7.29657$ev2.36001@www.newsranger.com> (raw)
In-Reply-To: mailman.1003089321.30613.comp.lang.ada@ada.eu.org

In article <mailman.1003089321.30613.comp.lang.ada@ada.eu.org>, Gautier
Write-only-address says...
>
>Ted:
>Ideally I'm looking for something like
>
>  function Process_Clock return Process_Time;
>
>and of course...
>
>  function "-"(T2,T1:Process_Time) return Duration;
>
>but just an indication of a Win32 function to use would already
>be sufficient (I'll do the rest!).

I'm glad to see someone came up with one for you (in another post).

The way I was talking about doing it (performance information from the registry)
is *way* more complicated than just making a single Win32 function call. There's
a series of at least 5 calls that have to be made, the way I remember it. That's
why I had to create a helper package for it.

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html

No trees were killed in the sending of this message. 
However a large number of electrons were terribly inconvenienced.



  reply	other threads:[~2001-10-15 14:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-14 19:54 CPU time for Win32 & GNAT Gautier Write-only-address
2001-10-15 14:33 ` Ted Dennison [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-15  9:47 Gautier Write-only-address
2001-10-12 11:21 Gautier
2001-10-12 13:50 ` Pat Rogers
2001-10-12 14:43   ` Ted Dennison
2001-10-12 14:48     ` Pat Rogers
2001-10-12 17:17       ` Ted Dennison
2001-10-12 14:36 ` Ted Dennison
2001-10-12 18:30   ` Sune Falck
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox