[Linuxptp-devel] [PATCH v2 1/1] clock: Introduce step_window to free run x Sync events after a clock step.

2021-02-13 Thread vincent.cheng.xh
From: Vincent Cheng When clock stepping is unable to happen instantaneously the subsequent timestamps after a clock step does not reflect the step result and undesired clock freq and step adjustments will occur. When using ts2phc to synchronize timestamping clock using external 1 PPS, it could

[Linuxptp-devel] [PATCH v2 0/1] clock: Introduce step_window to free run n Sync events after a clock step.

2021-02-13 Thread vincent.cheng.xh
From: Vincent Cheng When clock stepping is unable to happen instantaneously the subsequent timestamps after a clock step does not reflect the step result and undesired clock freq and clock steps would occur. When using ts2phc to synchronize timestamping clock using external 1 PPS, it could take

Re: [Linuxptp-devel] [PATCH 1/1] clock: Introduce step_window to free run x seconds after a clock step.

2021-02-13 Thread Vincent Cheng
On Sat, Feb 13, 2021 at 10:28:32AM EST, Richard Cochran wrote: >On Mon, Feb 01, 2021 at 05:55:41PM -0500, vincent.cheng...@renesas.com wrote: > >> +/* Set up timer expire notification mechanism */ >> +se.sigev_notify = SIGEV_THREAD; >> +se.sigev_value.sival_ptr = (void *)c; >> +

Re: [Linuxptp-devel] [PATCH 1/1] clock: Introduce step_window to free run x seconds after a clock step.

2021-02-13 Thread Richard Cochran
On Mon, Feb 01, 2021 at 05:55:41PM -0500, vincent.cheng...@renesas.com wrote: > + /* Set up timer expire notification mechanism */ > + se.sigev_notify = SIGEV_THREAD; > + se.sigev_value.sival_ptr = (void *)c; > + se.sigev_notify_function = clock_clear_free_running; > +