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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,88aaef9110656b58 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-15 07:34:31 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!feed1.uncensored-news.com!propagator-la!news-in-la.newsfeeds.com!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: Subject: Re: CPU time for Win32 & GNAT Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Mon, 15 Oct 2001 10:33:58 EDT Organization: http://www.newsranger.com Date: Mon, 15 Oct 2001 14:33:58 GMT Xref: archiver1.google.com comp.lang.ada:14534 Date: 2001-10-15T14:33:58+00:00 List-Id: In article , 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.