comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Timing code blocks
Date: Fri, 5 Mar 2010 10:04:06 +0100
Date: 2010-03-05T10:04:04+01:00	[thread overview]
Message-ID: <7z22vijb7le.172ngg4sxpuvr$.dlg@40tude.net> (raw)
In-Reply-To: fe09f7dd-7081-492c-9a6b-a46311d4ee1f@g10g2000yqh.googlegroups.com

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



  reply	other threads:[~2010-03-05  9:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05  6:34 Timing code blocks deadlyhead
2010-03-05  7:55 ` Dmitry A. Kazakov
2010-03-05  8:16   ` deadlyhead
2010-03-05  8:49     ` Dmitry A. Kazakov
2010-03-05 12:41       ` Alex Mentis
2010-03-05 21:15         ` Jeffrey R. Carter
2010-03-05 23:35         ` Simon Wright
2010-03-06  9:50           ` Georg Bauhaus
2010-03-06 12:06             ` Simon Wright
2010-03-07  1:02               ` Georg Bauhaus
2010-03-08 12:16                 ` Alex Mentis
2010-03-06 12:12           ` Alex Mentis
2010-03-05  8:33   ` Ludovic Brenta
2010-03-05  9:04     ` Dmitry A. Kazakov [this message]
2010-03-05 15:27       ` Reporting bugs (was: Timing code blocks) Ludovic Brenta
2010-03-06  7:13         ` Stephen Leake
2010-03-05 23:35   ` Timing code blocks Simon Wright
2010-03-05  8:21 ` Niklas Holsti
2010-03-05 20:17   ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox