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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c8acfc87fbb1813d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news3.google.com!feeder.news-service.com!eweka.nl!hq-usenetpeers.eweka.nl!193.201.147.67.MISMATCH!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Timing code blocks Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <2d5bead9-72f9-4c84-9ac1-a058c2591ef1@c37g2000prb.googlegroups.com> <13j6juslcud2k.1n4jnpj74p3k$.dlg@40tude.net> Date: Fri, 5 Mar 2010 10:04:06 +0100 Message-ID: <7z22vijb7le.172ngg4sxpuvr$.dlg@40tude.net> NNTP-Posting-Date: 05 Mar 2010 10:04:04 CET NNTP-Posting-Host: c544078e.newsspool2.arcor-online.net X-Trace: DXC=nUH=W>Hme35=FQB?mjjV50A9EHlD;3Yc24Fo<]lROoR18kFaS3>aPPe:[6LHn;2LCV>[50?iY9SZRi@? X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:9419 Date: 2010-03-05T10:04:04+01:00 List-Id: On Fri, 5 Mar 2010 00:33:54 -0800 (PST), Ludovic Brenta wrote: > Dmitry A. Kazakov wrote on comp.lang.ada: >> On Thu, 4 Mar 2010 22:34:47 -0800 (PST), deadlyhead wrote: >>> The problem I'm having, though, is that the timing just isn't >>> happening. �This code will run for 15 seconds and when I examine the >>> time span, it tells me that no time passed. >> >> This is an ancient bug, which managed to survive a number of GNAT compiler >> versions. >> >> As a workaround, add delay 0.0 at the beginning of your program: > [...] >> delay 0.0; -- Wake up that dozing Ada RTL! > > I was not aware of this bug; is there a PR in Bugzilla for it? As an active member of c.l.a. you should remember it discussed here several times in recent years. Each time I thought - well, the next version will certainly fix it, somebody had already reported it... (:-)) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de