This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tm_basic fixes


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
------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]