lkml.org 
[lkml]   [2011]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] ptp: add a software clock based on clock_monotonic_raw
On Thu, Mar 03, 2011 at 11:34:04AM -0800, john stultz wrote:
> On Thu, 2011-03-03 at 18:26 +0100, Torben Hohn wrote:
> > First version of a software clock. Not very useful yet,
> > as it doesnt generate events, but at least it allows
> > for testing the ptp framework without special hardware.
>
> So in the past, I pushed back on Richard for having something similar,
> as I'm not psyched about duplicating interfaces. However, your
> implementation is CLOCK_MONOTONIC_RAW instead of CLOCK_REALTIME and it
> keeps the adjustments internal, I'm not as opposed.

(Aha! So it is okay after all ;)

I do think a software only PHC will make it easier for people to get
started with the new interface. I have been carrying along such a
patch privately for my own testing.

Thanks,

Richard


\
 
 \ /
  Last update: 2011-03-04 07:49    [from the cache]
©2003-2011 Jasper Spaans