Matthias Fechner wrote:
Hi,
I tested today Xenomai on my AMD64 (32-bit mode) with the latency
program from the testsuite and I got for lat min negative values.
Can my computer predict the future? :)
The expiration time of a timer is usually known in advance, so, in that
sense, your computer predicts the future.
How can I interpret these values?
It means that Xenomai anticipates, that is, the timer is programmed
to tick a bit early in order to account for the interrupt and scheduling
latencies. In your case it is a bit too early, you can change this
anticipation time at compilation time with the configuration constant
CONFIG_OPT_TIMING_TIMERLAT and CONFIG_XENO_OPT_TIMING_SCHEDLAT, or
change it at run time by writing a new value in /proc/xenomai/latency.
--
Gilles Chanteperdrix
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help