Inaccurate time measurements. Help Please
Angelo Fraietta
afraiett at bigpond.net.au
Sun Mar 7 17:59:37 UTC 2004
sashti srinivasan wrote:
>Hello All,
>
>
>Action:
> I want an accuracy of 1 microsecond on pc386
>bsp. Hence I did the following.
> #define CONFIGURE_MICROSECONDS_PER_TICK 1
>
>
What speed is your processor? Your app will be spending a lot of time
inside the task switching routine and not much time doing anything else.
--
Angelo Fraietta
PO Box 859
Hamilton NSW 2303
Home Page
http://www.users.bigpond.com/angelo_f/
There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
Bernard of Clairvaux (1090 - 1153)
Return-Path: <gregmatu at poczta.onet.pl>
Mailing-List: contact rtems-users-help at rtems.com; run by ezmlm
Delivered-To: mailing list rtems-users at rtems.com
Received: (qmail 785 invoked from network); 7 Mar 2004 21:39:54 -0000
Received: from unknown (HELO smtp7.poczta.onet.pl) (213.180.130.47)
by 0 with SMTP; 7 Mar 2004 21:39:54 -0000
Received: from vpdn.adm.onet.pl ([213.180.131.58]:5124 "EHLO
waw03218219.visp.energis.pl") by ps7.test.onet.pl with ESMTP
id <S401547AbUCGTuP>; Sun, 7 Mar 2004 20:50:15 +0100
Date: Sun, 7 Mar 2004 20:54:21 +0100
From: Gregory Matus <gregmatu at poczta.onet.pl>
X-Mailer: The Bat! (v1.41) UNREG / CD5BF9353B3B7091
Reply-To: Gregory Matus <gregmatu at poczta.onet.pl>
X-Priority: 3 (Normal)
Message-ID: <18871.040307 at poczta.onet.pl>
To: rtems-users <rtems-users at rtems.com>
Subject: Re[2]: gettimeofday(): Help please
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Joel wrote:
> sashti srinivasan wrote:
>> Hello,
>> Thanks. I will post the sources shortly. It will
>> be a great help if you help me to solve the other
>> problem. That is, If I use the functions
>> Read_timer(), Intialize_timer(), I get the error "raw
>> handler connexion failed". Is it possible to get away
>> with it? Same is the case with distributed timing
>> test tm01.exe.
> No. There may be something wrong with the pc386 BSP.
> Can someone else confirm that tm01.exe runs for them
> on a PC386 BSP?
Yes, tm01.exe gets the error on pc486 also :-(
with rtems 4.6.0 relaese
--
Best regards,
Gregory mailto:gregmatu at poczta.onet.pl
More information about the users
mailing list