Gilles Chanteperdrix wrote: > Schlägl "Manfred jun." wrote: > > Hi again! > > > > I've the presumption, there is something wrong with my timer-handling. > > Could you please take a look at my handling. > > > > Thanks in advance! > > The problem I see with your code is that you are updating > ns_timer_lxlost in __ipipe_mach_acktimer, the integrator architecture > code, which also uses a decrementer does not do that. Apart from that, I > see nothing wrong.
I see another one which has to do with the fact that __ipipe_mach_tsc is updated both in __ipipe_mach_get_tsc and __ipipe_mach_set_dec. This leads to double-added ticks because the latter funcion is called only once a period and the former even more than once. So Xenomai counts jiffies in /proc/xenomai/timer to fast. Manfred, can you confirm this? Sebastian _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
