comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Raspberry Pi, Real-Time and Ada
Date: Mon, 10 Feb 2014 10:29:12 -0800 (PST)
Date: 2014-02-10T10:29:12-08:00	[thread overview]
Message-ID: <a96f1b53-435b-4f39-ae46-ce9d5abcb350@googlegroups.com> (raw)
In-Reply-To: <ybhiftk3g12r$.1b5pmrdl7x2kr$.dlg@40tude.net>

On Saturday, February 8, 2014 5:56:02 AM UTC-3, Dmitry A. Kazakov wrote:

> That looks pretty much slow for a 700MHz processor. You should take a look
> what exactly the implementation is (in s-oprim.adb, I suppose).

The Ada implementation? 

> If you look at the implementation of you see that it is based on the
> performance counter:
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms644904%28v=vs.85%29.aspx

ok

> MS does not tell which time source they use for this function. There are
> many on an Intel board. That you have 0 to 366ns (which is very poor for an
> Intel machine) indicates that probably your machine uses the HPET. HPET
> runs at 25MHz or so, which is pitiful for a GHz machine.
What is HPET?

> I suppose there are some architectural problems with using the TSC on
> multi-core machines which is why older single-core Windows machines tend to
> have better clocks.
Mine is an I7.

> Anyway, you could try to play a bit with the BIOS and BOOT.INI in order to
> force Windows not to use HPET (or even worse, the programmable timer).

Ok. I will try.

Regards


  reply	other threads:[~2014-02-10 18:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  0:53 Raspberry Pi, Real-Time and Ada Rego, P.
2014-02-06  7:50 ` Stephen Leake
2014-02-06  8:44   ` Dmitry A. Kazakov
2014-02-06 13:16     ` Simon Clubley
2014-02-06 21:12       ` Rego, P.
2014-02-07  0:26         ` Simon Clubley
2014-02-07 11:44           ` Rego, P.
2014-02-06 21:09     ` Rego, P.
2014-02-06 21:04   ` Rego, P.
2014-02-07  8:28     ` Stephen Leake
2014-02-07 12:09       ` Rego, P.
2014-02-08  8:28         ` Stephen Leake
2014-02-08  9:06           ` Dmitry A. Kazakov
2014-02-10 18:18           ` Rego, P.
2014-02-13 15:23             ` Stephen Leake
2014-02-07  8:42     ` Dmitry A. Kazakov
2014-02-07 12:34       ` Rego, P.
2014-02-07 12:59         ` Dmitry A. Kazakov
2014-02-07 13:25           ` Rego, P.
2014-02-07 23:11       ` Rego, P.
2014-02-08  8:56         ` Dmitry A. Kazakov
2014-02-10 18:29           ` Rego, P. [this message]
2014-02-10 20:38             ` Dmitry A. Kazakov
replies disabled

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