All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Synchronising TSC and periodic timer
@ 2006-03-14 20:45 Jan Kiszka
  2006-03-15  7:24 ` Jan Kiszka
  0 siblings, 1 reply; 24+ messages in thread
From: Jan Kiszka @ 2006-03-14 20:45 UTC (permalink / raw)
  To: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

Hi,

for those who haven't followed the endless "RTDM and Timer functions"
thread: we are currently discussing a way to provide high-resolution
timestamps in periodic mode for RTDM users. It was suggested to use the
TSC for this, but I noted that this source will not be in sync with the
periodic system timer and may even be out of sync across multiple CPUs.

A straight-forward approach to overcome this might be to record the
current TSC value together with the current jiffies in
xntimer_do_tick_periodic(). This tuple (per CPU) could then be provided
to skin implementers in order to let them offer a high-resolution
timestamp source even in periodic mode. Hmm, sounds too simple actually,
so I'm waiting now for someone pointing out the pitfalls.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread
[parent not found: <1CFEB358338412458B21FAA0D78FE86D02CABF1C@rennsmail02.eu.thmulti.com>]

end of thread, other threads:[~2006-03-24 13:14 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-14 20:45 [Xenomai-core] Synchronising TSC and periodic timer Jan Kiszka
2006-03-15  7:24 ` Jan Kiszka
     [not found]   ` <4417C74D.3060203@domain.hid>
2006-03-15  8:14     ` Jan Kiszka
2006-03-15 12:59   ` Philippe Gerum
2006-03-15 13:26     ` Gilles Chanteperdrix
2006-03-15 22:58       ` Philippe Gerum
2006-03-20 11:48         ` Jan Kiszka
2006-03-20 13:26           ` Philippe Gerum
2006-03-20 14:42             ` Rodrigo Rosenfeld Rosas
2006-03-20 16:51               ` Philippe Gerum
2006-03-20 19:27                 ` Rodrigo Rosenfeld Rosas
2006-03-21  0:11                   ` Jan Kiszka
2006-03-21  3:11                     ` Rodrigo Rosenfeld Rosas
2006-03-20 14:46             ` Jan Kiszka
2006-03-21 12:44               ` Philippe Gerum
2006-03-24 13:14                 ` Jan Kiszka
     [not found]             ` <200603201137.12548.rosenfeld@domain.hid>
2006-03-20 15:23               ` Philippe Gerum
2006-03-20 19:01                 ` Rodrigo Rosenfeld Rosas
2006-03-21 17:57                   ` Philippe Gerum
2006-03-15 13:34   ` Gilles Chanteperdrix
2006-03-15 16:50     ` Jan Kiszka
2006-03-16 15:26       ` Gilles Chanteperdrix
2006-03-17  1:16         ` Jan Kiszka
     [not found] <1CFEB358338412458B21FAA0D78FE86D02CABF1C@rennsmail02.eu.thmulti.com>
2006-03-15 17:20 ` Jan Kiszka

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.