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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e7ac0b21c6d808e6 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Timing of ADA code Date: 1998/07/31 Message-ID: <6pssib$r9c$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 376711221 References: <35c12689.217545056@news.gatech.edu> <6psg15$a56$1@nnrp1.dejanews.com> <35c1cf02.40761361@news.gatech.edu> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Jul 31 16:49:15 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows NT; Gateway2000) Date: 1998-07-31T00:00:00+00:00 List-Id: 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: "How do I get CPU time for a thread in Windows 95?", which is a better question for a win32 newsgroup, and possibly: "How do I get my Win95 thread ID in gnat?", which is appropriate here. T.E.D. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum