All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Steven Seeger <steven.seeger@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] rtdm timer questions
Date: Thu, 12 Mar 2009 12:46:10 +0100	[thread overview]
Message-ID: <49B8F602.9090808@domain.hid> (raw)
In-Reply-To: <E48B6941-3355-4C95-9645-6DF14B5103DA@comcast.net>

Steven Seeger wrote:
> I will ask Mark to run the klatency -t 2 test. I do not have a system  
> or even a piece of a system right now so I can't run anything. Sorry. :(
> 
> What happens if I call start on a timer that is already running? Will  

Not explicitly specified, but the existing timer will be stopped first
and then newly started.

> it change the timing at all or ignore the start?
> 
> Is this correct:
> 
> rtdm_timer_start(&timer, 2000000, 125000, RTDM_TIMERMODE_ABSOLUTE);
> 
> The behavior I want is to start my timer in 2ms and have it fire every  

"...start ... in 2 ms" sounds a bit like TIMERMODE_RELATIVE, no? :)

> 125us. The timer itself will use rtdm_timer_stop_in_handler() to stop  
> itself.
> 
> Am I making any mistakes here?
> 
> Steven
> 

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux


  reply	other threads:[~2009-03-12 11:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 10:55 [Xenomai-core] rtdm timer questions Steven Seeger
2009-03-12 11:12 ` Gilles Chanteperdrix
2009-03-12 11:29   ` Steven Seeger
2009-03-12 11:46     ` Jan Kiszka [this message]
2009-03-12 11:50       ` Steven Seeger
2009-03-12 11:51       ` Steven Seeger
2009-03-12 12:09         ` Jan Kiszka
2009-03-12 12:15           ` 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=49B8F602.9090808@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=steven.seeger@domain.hid \
    --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.