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_50,FREEMAIL_FROM, HELO_NO_DOMAIN,MAILING_LIST_MULTI,RDNS_NONE,SPOOFED_FREEMAIL_NO_RDNS 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-14 12:55:59 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!enst!enst.fr!not-for-mail From: "Gautier Write-only-address" Newsgroups: comp.lang.ada Subject: Re: CPU time for Win32 & GNAT Date: Sun, 14 Oct 2001 19:54:53 +0000 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 1003089359 26602 137.194.161.2 (14 Oct 2001 19:55:59 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 14 Oct 2001 19:55:59 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Originating-IP: [212.35.34.200] X-OriginalArrivalTime: 14 Oct 2001 19:54:53.0548 (UTC) FILETIME=[177182C0:01C154EA] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:14483 Date: 2001-10-14T19:54:53+00:00 Ted: > > I think he wants elapsed CPU time for his process, not for the whole >system. > > That would essentially just give him wall time (really really precise >wall > > time). > > > > Is that instruction avalilable in ring 3? Pat: >I can't say. (I know I can trust you -- I just don't know! :-) Effectively, I'm looking for the time elapsed during the process, not the wall-clock time. 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!). Thx Gautier _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp