Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Jan Kiszka
Anders Blomdell wrote: > Jan Kiszka wrote: >> ... >> Thinking about this more thoroughly, a few questions popped up for me: >> >> o When we call it rtdm_clock_read_tsc(), we should actually return the >> raw TSC values, shouln't we? But then we also need conversion >> functions (rtdm_clock_tsc2

[Xenomai-core] Spreading Xenomai

2006-03-14 Thread Jan Kiszka
Hi, now that 2.1 is out and very likely also very stable, I feel like having to bring this topic up again: There should be more announcements of this project outside its own circle. When reading articles about proprietary real-time Linux variants now almost once a week on LinuxDevices, I always t

Re: [Xenomai-core] Spreading Xenomai

2006-03-14 Thread Rodrigo Rosenfeld Rosas
Hi Jan, I liked your idea. I'm finhishing a first version (very limited while conforming to V4L2) framegrabber driver using RTDM and could write about it, but since I cannot show the Data Translation specific code, I could not publish the driver source code in any site. But I can still write an

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Rodrigo Rosenfeld Rosas
Em Terça 14 Março 2006 03:44, Jan Kiszka escreveu: >Rodrigo Rosenfeld Rosas wrote: >> Em Segunda 13 Março 2006 20:05, Jan Kiszka escreveu: >>> ... >>> > We would definitely need a good name for it, > rtdm_clock_read_ex(), rtdm_clock_read_tsc(), > rtdm_clock_read_monotonic()? I'm not go

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Jan Kiszka
Rodrigo Rosenfeld Rosas wrote: > Em Terça 14 Março 2006 03:44, Jan Kiszka escreveu: > >> Rodrigo Rosenfeld Rosas wrote: >>> Em Segunda 13 Março 2006 20:05, Jan Kiszka escreveu: ... >> We would definitely need a good name for it, >> rtdm_clock_read_ex(), rtdm_clock_read_tsc(), >>>

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Rodrigo Rosenfeld Rosas
Em Terça 14 Março 2006 13:46, Jan Kiszka escreveu: ... Another one is for timeouts on short delays. In those cases, we want a good resolution, but this should be independent of the user's timer choice IMO. >>> >>> And this is something rtdm_clock_read_tsc() will obviously not be fo

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Jan Kiszka
Rodrigo Rosenfeld Rosas wrote: > Em Terça 14 Março 2006 13:59, Rodrigo Rosenfeld Rosas escreveu: > >> Em Terça 14 Março 2006 13:46, Jan Kiszka escreveu: >> ... Another one is for timeouts on short delays. In >> those cases, we want a good resolution, but this should be independent >> o

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Rodrigo Rosenfeld Rosas
Em Terça 14 Março 2006 13:59, Rodrigo Rosenfeld Rosas escreveu: >Em Terça 14 Março 2006 13:46, Jan Kiszka escreveu: > ... Another one is for timeouts on short delays. In > those cases, we want a good resolution, but this should be independent > of the user's timer choice IMO.

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Rodrigo Rosenfeld Rosas
Em Terça 14 Março 2006 16:00, Jan Kiszka escreveu: >Rodrigo Rosenfeld Rosas wrote: >> Em Terça 14 Março 2006 13:59, Rodrigo Rosenfeld Rosas escreveu: >>> Em Terça 14 Março 2006 13:46, Jan Kiszka escreveu: >>> ... Another one is for timeouts on short delays. In >>> those cases, we want a go

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Jan Kiszka
Rodrigo Rosenfeld Rosas wrote: > Em Terça 14 Março 2006 16:00, Jan Kiszka escreveu: > >> Rodrigo Rosenfeld Rosas wrote: >>> Em Terça 14 Março 2006 13:59, Rodrigo Rosenfeld Rosas escreveu: Em Terça 14 Março 2006 13:46, Jan Kiszka escreveu: ... Another one is for timeouts on short dela

[Xenomai-core] Synchronising TSC and periodic timer

2006-03-14 Thread Jan Kiszka
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 sy

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Rodrigo Rosenfeld Rosas
I really tried to not answer this message and finish the "endless thread" you mentioned, but I couldn't resist. ;) Maybe this will be the last post from my own on this thread and will begin writing in the new thread. See below, please.

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Jan Kiszka
Rodrigo Rosenfeld Rosas wrote: > I really tried to not answer this message and finish the "endless thread" you > mentioned, but I couldn't resist. ;) Maybe this will be the last post from my > own on this thread and will begin writing in the new thread. See below, > please. I see no problem in

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Rodrigo Rosenfeld Rosas
--- Jan Kiszka <[EMAIL PROTECTED]> escreveu: > ... > >> Moreover, when considering the TSC as high-resolution timestamp source, > >> this is not applicable on SMP / multicore systems. Those tend to have > >> unsynchronised and drifting TSCs. So if the first picture was taken on > >> one CPU and th

Re: [Xenomai-core] RTDM and Timer functions

2006-03-14 Thread Jim Cromie
Rodrigo Rosenfeld Rosas wrote: Actually, I noted a minor typo error in the documentation: " of the this service" should be " of this service" this is the kind of thing that youre encouraged to create a patch for. Same for other doc nits - youre offering 'something-like' suggestions, when yo

Re: [Xenomai-core] Synchronising TSC and periodic timer

2006-03-14 Thread Jan Kiszka
Jan Kiszka wrote: > 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 b