comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: milliseconds and delay until
Date: Thu, 12 Jun 2003 08:20:43 +0200
Date: 2003-06-12T08:20:43+02:00	[thread overview]
Message-ID: <bc95v4$g2afa$1@ID-77047.news.dfncis.de> (raw)
In-Reply-To: x7vu1aw4co2.fsf@pushface.org

Simon Wright wrote:

> NB!! on most desktop machines you'll get a minimum actual delay of 10
> ms (a tick) or even 2 ticks; what happens, I think, is that many of
> the "delay until"s turn out to be delaying until a time that has
> already passed, so the program spins until it catches up.

It is a complicated issue which depends on great variety of factors [OS, 
whether Ada RT uses native threads etc.]

But usually I would expect a better performance. [Even under Windows NT, 
where the time slicing quant is 10ms, one can force it to 1ms. Under 2k/XP 
it is already 1ms.]

-- 
Regards,
Dmitry A. Kazakov
www.dmitry-kazakov.de



  parent reply	other threads:[~2003-06-12  6:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11 18:31 milliseconds and delay until Thomas Bruns
2003-06-11 18:46 ` Jano
2003-06-11 18:58   ` Thomas Bruns
2003-06-11 19:29     ` Jano
2003-06-11 19:49 ` Simon Wright
2003-06-11 20:29   ` tmoran
2003-06-12  6:20   ` Dmitry A. Kazakov [this message]
2003-06-11 19:59 ` Frank J. Lhota
2003-06-12  3:06 ` Steve
2003-06-12 20:26   ` Simon Wright
2003-06-12 21:41     ` Martin Dowie
2003-06-14  6:04       ` 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