* [Xenomai] Negative latencies
@ 2015-01-13 17:01 John Sini
2015-01-13 20:39 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: John Sini @ 2015-01-13 17:01 UTC (permalink / raw)
To: xenomai
Hello,
I was trying to boot linux with Xenomai on the Zedboard from Xilinx. When I
run the latency test I get negative values. I tried to calibrate my system
by running the following
echo 1 > /proc/xenomai/latency
But then when I run
cat latency - I get 0. I also get 0 if I put 2 or 3ns. If I put 4 i.e.
echo 4 > /proc/xenomai/latency and then do:
cat latency - I get 3.
Is there a possibility to calibrate my system to 1ns? Can the calibration
be done without echo 1 > /proc/xenomai/latency somehow in latency.c. Before
doing any calibration latency that I get is 9498.
Thanks,
John
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai] Negative latencies
2015-01-13 17:01 [Xenomai] Negative latencies John Sini
@ 2015-01-13 20:39 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2015-01-13 20:39 UTC (permalink / raw)
To: John Sini; +Cc: xenomai
On Tue, Jan 13, 2015 at 06:01:54PM +0100, John Sini wrote:
> Hello,
>
>
> I was trying to boot linux with Xenomai on the Zedboard from Xilinx. When I
> run the latency test I get negative values. I tried to calibrate my system
> by running the following
> echo 1 > /proc/xenomai/latency
>
>
> But then when I run
>
> cat latency - I get 0. I also get 0 if I put 2 or 3ns. If I put 4 i.e.
>
> echo 4 > /proc/xenomai/latency and then do:
>
> cat latency - I get 3.
>
> Is there a possibility to calibrate my system to 1ns? Can the calibration
> be done without echo 1 > /proc/xenomai/latency somehow in latency.c. Before
> doing any calibration latency that I get is 9498.
See:
https://xenomai.org/pipermail/xenomai/2007-May/009063.html
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-13 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-13 17:01 [Xenomai] Negative latencies John Sini
2015-01-13 20:39 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.