Re: How is the time fed between hardclocks ?

2015-07-25 Thread deco33000
Ok and I am sorry btw ! --  Jog ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: How is the time fed between hardclocks ?

2015-07-25 Thread deco33000
Is my question clear, or would you like me to give further info (and which) ? Thanks --  Jog ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...

How is the time fed between hardclocks ?

2015-07-25 Thread deco33000
Hello, I am learning the freebsd way to keep the time up to date. We avoid to call hardware hardclock() every time we need a timestamp by applying some math. I get the idea. But, how do we know how far we are from the last hardclock()? Are the updates to the "fake" timestamps occuring at a cons

Re: struct timehands: th_generation field

2015-07-24 Thread deco33000 Jog
___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: struct timehands: th_generation field

2015-07-24 Thread deco33000
OK. I read the document and understood it I guess. Very interesting, and well engineered. On x86/i386/amd64, could not all this be replaced by a simple call to apic timer ? We would get the timestamp, we can even store it, make calculation on top of it. My jugement may miss something important

Re: struct timehands: th_generation field

2015-07-23 Thread deco33000
___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

struct timehands: th_generation field

2015-07-23 Thread deco33000
Hi, Currently I read more about timers and clock. I am struggling on one field of a struct : http://fxr.watson.org/fxr/source/kern/kern_tc.c?v=FREEBSD10#L63 I would like to understand what th_generation means please. Thanks a lot --  Jog ___ freebsd