comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Duration for GNAT on ARM
Date: Wed, 24 Dec 2014 00:04:35 +0000
Date: 2014-12-24T00:04:35+00:00	[thread overview]
Message-ID: <ly38856hgs.fsf@pushface.org> (raw)
In-Reply-To: 14woqdx7yg0ry.eghy2k6aafqc.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

>> On the STM32's with STMicroelectronics' HAL, the tick is 1 kHz.
>
> But does the RTL assumed by the compiler use this clock?

I'm writing the RTS, it should be up to me to decide the granularity!

Reading the source, one approach would be to tell the compiler to use a
64-bit clock: towards the end of system.ads, I have

   Duration_32_Bits          : constant Boolean := True;

so I could set it to False and put up with some 64-bit arithmetic in
Ada.Real_Time.

      parent reply	other threads:[~2014-12-24  0:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-23 21:21 Duration for GNAT on ARM Simon Wright
2014-12-23 22:42 ` Dmitry A. Kazakov
2014-12-23 22:52   ` J-P. Rosen
2014-12-24  0:27     ` Simon Wright
2014-12-24  9:40       ` Simon Wright
2014-12-24  0:04   ` Simon Wright [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