Re: [PATCH 2/3] ptp: add a software clock based on clock_monotonic_raw

Richard Cochran
2011-03-04T16:10:29Z

On Fri, Mar 04, 2011 at 12:30:32PM +0100, torbenh wrote:
> On Fri, Mar 04, 2011 at 07:42:51AM +0100, Richard Cochran wrote:
> >
> > Better yet, why not just use the V6 example instead? If we are going
> > to have a testing driver, then I would want the simulated ancillary
> > code as well.
>
> well... your example code messes with clock_realtime.

But could you take the file and replace the CLOCK_REALTIME code with
your SW implemented offset/frequency corrections?

And, just keep my code for simulating the ancillary stuff as is.

> i was planning to emit real timed events, not just some simulation.
> but i dont completely understand this part of the code yet.

??? (None of my PHC patches implement any user timers.)

I am not sure where you are going with the AVB clock idea, but it will
be fun to find out.

Thanks,

Richard