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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,61ca51fcfd50e9a9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-24 00:29:30 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!tar-atanamir.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: ANNOUNCE: GNAT Programming System 1.4.0 release Date: Mon, 24 Nov 2003 09:32:45 +0100 Message-ID: <23g3svkho39aqiv7iv6su0jpe84m5ifsrb@4ax.com> References: <8Hcwb.8282$7%4.7651@nwrdny03.gnilink.net> NNTP-Posting-Host: tar-atanamir.cbb-automation.de (212.79.194.116) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1069662569 61651421 212.79.194.116 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:2889 Date: 2003-11-24T09:32:45+01:00 List-Id: On Mon, 24 Nov 2003 04:52:19 GMT, Dennis Lee Bieber wrote: >Stephane Richard fed this fish to the penguins on Sunday 23 November >2003 16:56 pm: > >> Or Run it Under Windows ME or less ;-=) > > Don't be so sure... I ran a silly test program a few days ago, at work >(mainly to see if the "performance timer" was available on a GFE >laptop). > > The laptop: ~250MHz, W98se > The desktop: ~450+MHz, W2K > > Same program, performing 1000 repetitions of Sleep(1) > > Based upon the performance time count/frequency the slow laptop took >just under 5 seconds. The W2K took 15 seconds. > > Okay, the W2K did have the corporate LAN connection, but I didn't even >touch the mouse during the runs... You should use timeBeginPeriod to ensure that both systems have same time slicing. Your desktop might have it set at 10ms (the default on the most of Win32). This would cause each Sleep(1) turning to Sleep(10). Anyway scheduling under Windows is indeed stra-a-ange. (:-)) -- Regards, Dmitry Kazakov http://www.dmitry-kazakov.de