Re: [Xenomai-core] Question about getting system time

2010-05-27 Thread Wolfgang Mauerer
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Gilles Chanteperdrix wrote: >>> Jan Kiszka wrote: Just like it seems to be the case for Steve (unless I misunderstood his reply), it is very useful for us being able to time-stamp events in RT context that need to be correlated with

Re: [Xenomai-core] Question about getting system time

2010-05-21 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> Jan Kiszka wrote: >>> Just like it seems to be the case for Steve (unless I misunderstood his >>> reply), it is very useful for us being able to time-stamp events in RT >>> context that need to be correlated with events stamped in non-RT >>> (inclu

Re: [Xenomai-core] Question about getting system time

2010-05-19 Thread Gilles Chanteperdrix
Daniele Nicolodi wrote: > On 19/05/10 07:49, Gilles Chanteperdrix wrote: >> Jan Kiszka wrote: >>> Just like it seems to be the case for Steve (unless I misunderstood his >>> reply), it is very useful for us being able to time-stamp events in RT >>> context that need to be correlated with events sta

Re: [Xenomai-core] Question about getting system time

2010-05-19 Thread Daniele Nicolodi
On 19/05/10 07:49, Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Just like it seems to be the case for Steve (unless I misunderstood his >> reply), it is very useful for us being able to time-stamp events in RT >> context that need to be correlated with events stamped in non-RT >> (including n

Re: [Xenomai-core] Question about getting system time

2010-05-19 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Just like it seems to be the case for Steve (unless I misunderstood his >> reply), it is very useful for us being able to time-stamp events in RT >> context that need to be correlated with events stamped in non-RT >> (including non-Xenomai) parts o

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Just like it seems to be the case for Steve (unless I misunderstood his > reply), it is very useful for us being able to time-stamp events in RT > context that need to be correlated with events stamped in non-RT > (including non-Xenomai) parts or even on other systems: (offline)

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Gilles Chanteperdrix wrote: >>> Wolfgang Mauerer wrote: Gilles Chanteperdrix wrote: > Wolfgang Mauerer wrote: >>> On the one hand you make complicated code (which will be costly on low >>> end hardware) to avoid shutting interrupts

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> Wolfgang Mauerer wrote: >>> Gilles Chanteperdrix wrote: Wolfgang Mauerer wrote: >> On the one hand you make complicated code (which will be costly on low >> end hardware) to avoid shutting interrupts around a few assignments, but >

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Wolfgang Mauerer wrote: >> Gilles Chanteperdrix wrote: >>> Wolfgang Mauerer wrote: > On the one hand you make complicated code (which will be costly on low > end hardware) to avoid shutting interrupts around a few assignments, but > on the other hand you le

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Gilles Chanteperdrix
Wolfgang Mauerer wrote: > Gilles Chanteperdrix wrote: >> Wolfgang Mauerer wrote: On the one hand you make complicated code (which will be costly on low end hardware) to avoid shutting interrupts around a few assignments, but on the other hand you leave an architecture specific functi

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Wolfgang Mauerer
Gilles Chanteperdrix wrote: > Wolfgang Mauerer wrote: >>> On the one hand you make complicated code (which will be costly on low >>> end hardware) to avoid shutting interrupts around a few assignments, but >>> on the other hand you leave an architecture specific function pointer >>> call where we w

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Gilles Chanteperdrix
Wolfgang Mauerer wrote: >> On the one hand you make complicated code (which will be costly on low >> end hardware) to avoid shutting interrupts around a few assignments, but >> on the other hand you leave an architecture specific function pointer >> call where we want a fast behaviour on average (r

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Gilles Chanteperdrix
Wolfgang Mauerer wrote: > [moved to xenomai-core] > > Gilles Chanteperdrix wrote: >> Wolfgang Mauerer wrote: - gettimeofday should not have another timebase than clock_gettime(CLOCK_REALTIME): in other word, the whole clock system should be based on the ntp clock. >>> Sorry, I'm not

Re: [Xenomai-core] Question about getting system time

2010-05-18 Thread Wolfgang Mauerer
[moved to xenomai-core] Gilles Chanteperdrix wrote: > Wolfgang Mauerer wrote: >>> - gettimeofday should not have another timebase than >>> clock_gettime(CLOCK_REALTIME): in other word, the whole clock system >>> should be based on the ntp clock. >> Sorry, I'm not quite sure what you are talking ab