On Thu, 2006-08-03 at 09:01 +0200, Jan Kiszka wrote:
> A simple patch, just like suggested by Gilles, to avoid looping over
> periodic xntimer handlers in case of overruns.
> 
> It saves the current TSC on loop entry and uses this value later when
> forwarding the timer. Is is the overhead of re-reading the TSC on all
> archs negligible and should we rather go that way?
> 

The configuration for which reading the TSC is fairly expensive is x86
+TSC emulation, since this incurs reading and writing a couple of
8254-related i/o ports. This is not an issue for other
archs/x86-configs.

> Jan
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@gna.org
> https://mail.gna.org/listinfo/xenomai-core
-- 
Philippe.



_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to