comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Duration vs. Ada.Real_Time
Date: 30 Jan 2001 09:33:38 -0500
Date: 2001-01-30T14:46:43+00:00	[thread overview]
Message-ID: <uk87d9kjh.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 94vo82$kst$1@nnrp1.deja.com

Robert Dewar <robert_dewar@my-deja.com> writes:

> In article <3A71E4F6.6D7015AD@acm.org>,
>   Marin David Condic <mcondic.auntie.spam@acm.org> wrote:
> 
> > I would think that a reasonable implementation of Ada for
> > realtime systems would want to insure that the precision had
> > some relationship to the accuracy of the clock available.
> 
> Why do you think that?
> 
> The RM contains no encouragement for this thought!
> 
> Duration is used for other things besides the delay statement.

Perhaps it would be more appropriate for Marin to request that type
Ada.Real_Time.Time_Span (LRM appendix D) match the hardware clock;
that is more clearly intended to be a "hard real-time" clock type.

> And also, programs do various calculations with Duration, if there
> is more precision, these calculations are more accurate.

I agree with Marin here; convert to a type that you know or control
the precision of to do computations.

-- 
-- Stephe



  parent reply	other threads:[~2001-01-30 14:33 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <980495512.529981@edh3>
     [not found] ` <8mac6.9236$R5.473526@news1.frmt1.sfba.home.com>
2001-01-26 15:30   ` Duration vs. Ada.Real_Time Robert Dewar
     [not found] ` <3A71814B.7E8CCF60@acm.org>
2001-01-26 15:33   ` Robert Dewar
2001-01-26 20:58     ` Marin David Condic
2001-01-26 21:32       ` Ted Dennison
2001-01-27  5:01         ` Keith Thompson
2001-01-27 14:40           ` Marin David Condic
2001-01-27 14:34         ` Marin David Condic
2001-01-28  0:18           ` Robert Dewar
2001-01-29 14:54           ` Ted Dennison
2001-01-29 18:40             ` Marin David Condic
2001-02-08  3:32               ` Buz Cory
2001-02-08 15:34                 ` Marin David Condic
2001-02-10  3:08                   ` Steve Whalen
2001-01-28  0:13       ` Robert Dewar
2001-01-29 14:02         ` Marin David Condic
2001-01-30 14:33         ` Stephen Leake [this message]
2001-01-31 14:55           ` Marin David Condic
2001-01-31 16:03           ` Ted Dennison
2001-01-31 19:16             ` Marin David Condic
2001-01-31 20:53               ` Ted Dennison
2001-01-31 21:30                 ` tmoran
2001-01-31 21:47                 ` Marin David Condic
2001-02-01 14:18                   ` Ted Dennison
2001-01-28 19:32 ` Simon Wright
2001-01-31  6:13   ` Robert Dewar
2001-01-31 15:07     ` Marin David Condic
2001-02-01  5:43       ` Robert Dewar
2001-01-31  5:51 Christoph Grein
2001-02-01  6:27 ` 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