From: Steven Seeger <steven.seeger@nasa.gov>
To: xenomai@xenomai.org
Subject: [Xenomai] userspace absolute timer value
Date: Mon, 14 Dec 2015 20:19:14 -0500 [thread overview]
Message-ID: <11512456.mgiilWixD3@wirbelwind> (raw)
Since my last post I seem to have solved the issues with my ppc44x board hard
locking up. I've relayed this info to Philippe and hopefully he will confirm
that I'm correct and that I should make a patch. However in the process, I've
stopped seeing the latency -t1 and latency -t2 work correctly.
One thing I do notice now with latency -t0 is that the timerfd_handler in
/proc/xenomai/timer/coreclk shows a tremendous number of seconds (1bil+) and
you can keep printing the output and watching it count down a second at a
time. This means there may be some kind of discrepancy between the
CLOCK_MONOTONIC and the timer that's used to program shots.
I did look at the ticks for the coreclock and it appears to be 400 ticks per
microsecond which is what the cobalt core is reporting via
xnclock_ns_to_ticks() (I pass it 1000 ns and get 400 as a result)
Can anyone point me in the direction of where to look for this issue?
Thanks,
Steven
next reply other threads:[~2015-12-15 1:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-15 1:19 Steven Seeger [this message]
2015-12-22 16:59 ` [Xenomai] userspace absolute timer value Philippe Gerum
-- strict thread matches above, loose matches on Subject: below --
2015-12-23 18:05 Steven Seeger
2015-12-23 18:43 ` Gilles Chanteperdrix
2015-12-23 19:14 ` Steven Seeger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11512456.mgiilWixD3@wirbelwind \
--to=steven.seeger@nasa.gov \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.