Gilles Chanteperdrix wrote:
> Philippe Gerum wrote:
>> Gilles Chanteperdrix wrote:
>>> I run clocktest on a system here, not running NTP, using
>>> CONFIG_GENERIC_CLOCKEVENT, with a systematic drift of 3us/s. How can
>>> this happen? Does it come from the error due to the multiply and shift
>>> used for tsc to/from ns conversions ?
>> - ipipe_request_tickdev() returning a timer freq we don't like?
> Well, I would expect ipipe_request_tickdev() to return the same
> frequency as the one used by Linux.
Yes it does. But this value is used by Xenomai code.
>> - does using your generic arith ops instead of the arch-dependent fast ops
> Linux itself uses a multiply and shift strategy, so maybe the
> computation of the multiply and shift factors done by Xenomai does not
> find the same result as the one used by Linux?
Time to involve printk() in this battle.
Xenomai-core mailing list