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: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Re: Timing of ADA code Date: 1998/08/01 Message-ID: #1/1 X-Deja-AN: 377032168 References: <35c12689.217545056@news.gatech.edu> <6psg15$a56$1@nnrp1.dejanews.com> <35c1cf02.40761361@news.gatech.edu> <6pssib$r9c$1@nnrp1.dejanews.com> <35c23701.67387591@news.gatech.edu> Organization: * JerryWare *, Leiden, Holland Newsgroups: comp.lang.ada Date: 1998-08-01T00:00:00+00:00 List-Id: Brian Franklin (bf14@prism.gatech.edu) wrote: : 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. Since you are running Win95, the processor will switch between processes and theads every 20 milliseconds. : I guess basically I just need the time when the : process starts and the time when it finishes. For that you can use the functions from the package Calendar. But, the time you measure includes the time spend on all other processes and threads running on you PC at the same time. So, it boils down to how accurate you need to measure. Jerry. -- -- Jerry van Dijk | email: jdijk@acm.org -- Leiden, Holland | member Team-Ada -- Ada & Win32: http://stad.dsl.nl/~jvandyk