Re: [PATCH NET-NEXT 11/12] time sync: generic infrastructure to map between time stamps generated by a time counter and system time

Ingo Molnar
2009-01-21T10:33:52Z

* Patrick Ohly <patrick.ohly@intel.com> wrote:

> Currently only mapping from time counter to system time is implemented.
> The interface could have been made more versatile by not depending on a time counter,
> but this wasn't done to avoid writing glue code elsewhere.
>
> The method implemented here is the one used and analyzed under the name
> "assisted PTP" in the LCI PTP paper:
> http://www.linuxclustersinstitute.org/conferences/archive/2008/PDF/Ohly_92221.pdf
> ---
> include/linux/clocksync.h | 85 +++++++++++++++++++
> kernel/time/Makefile | 2 +-
> kernel/time/clocksync.c | 196 +++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 282 insertions(+), 1 deletions(-)
> create mode 100644 include/linux/clocksync.h
> create mode 100644 kernel/time/clocksync.c

hm, these bits have less than casual impact - i think they need to go via
the timer tree.

Ingo