This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: tm_basic fixes
- From: Gary Thomas <gary at mlbassoc dot com>
- To: GONZALEZ Laurent <laurent dot gonzalez at trango-systems dot com>
- Cc: eCos patches <ecos-patches at ecos dot sourceware dot org>
- Date: Tue, 01 Mar 2005 07:05:52 -0700
- Subject: Re: tm_basic fixes
- Organization: MLB Associates
- References: <20050224151306.0f29370a@localhost>
On Thu, 2005-02-24 at 15:13 +0100, GONZALEZ Laurent wrote:
> hi list,
>
> this patch removes an hardwired value to compute ns_per_system_clock
> variable and also restore the meaning of this variable (that should
> otherwise be renamed to us_per_system_clock). The test is now compliant
> with the definition of CYGNUM_HAL_RTC_NUMERATOR and CYGNUM_HAL_RTC_DENOMINATOR.
>
> Moreover, it fixes the computation of clock interrupt cost. That's a
> good news for eCos because this cost is currently over-estimated.
>
Can you please explain your changes a bit more?
I agree with the change for CYGNUM_HAL_RTC_NUMERATOR, but the other
two changes seem to cancel each other out. When I tested this,
before & after the patch, I got identical results so I'm a little
interested in hearing more.
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------