From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.150.106 with SMTP id uh10mr9335432pab.13.1392056952670; Mon, 10 Feb 2014 10:29:12 -0800 (PST) X-Received: by 10.140.25.242 with SMTP id 105mr211794qgt.8.1392056952530; Mon, 10 Feb 2014 10:29:12 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!c10no15864240igq.0!news-out.google.com!y18ni7383qap.1!nntp.google.com!k15no16148538qaq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 10 Feb 2014 10:29:12 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.77.226.1; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 189.77.226.1 References: <5e8fad3a-94e6-4517-af54-db8b4146803e@googlegroups.com> <858uto3cj3.fsf@stephe-leake.org> <708ef9e4-b6a3-488b-a86d-b70c7de43ac2@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Raspberry Pi, Real-Time and Ada From: "Rego, P." Injection-Date: Mon, 10 Feb 2014 18:29:12 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 2507 Xref: number.nntp.dca.giganews.com comp.lang.ada:184779 Date: 2014-02-10T10:29:12-08:00 List-Id: 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