comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Help performing timings
Date: 1995/04/07
Date: 1995-04-07T00:00:00+00:00	[thread overview]
Message-ID: <dewar.797263192@gnat> (raw)
In-Reply-To: 797193381snz@lynx1.demon.co.uk

the best way to deal with this timing issue is to interface to appropriate
C routines in your library. There are no portable routines with this kind
of accuracy -- the closest you can come is to use the real time package
in the annex, but I think the easiest thing is just to interface directly
to the C routine, which is particularly easy in GNAT, since the standard
GNAT types correspond to the C types (e.g. int = Integer). Or, if you want
to be more "correct", use Interfaces.C types.





      parent reply	other threads:[~1995-04-07  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-06  0:00 Help performing timings Simon Ibberson
1995-04-07  0:00 ` Theodore Dennison
1995-04-07  0:00 ` Robert Dewar [this message]
replies disabled

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