Messages in this thread | | | Date | Sat, 30 Sep 2023 16:07:29 -0700 | From | Richard Cochran <> | Subject | Re: [PATCH 3/4] ptp: add ioctl interface for ptp_gettimex64any() |
| |
On Sat, Sep 30, 2023 at 02:25:23PM -0700, Richard Cochran wrote: > But how about a new system call instead? > > clock_compare(clockid_t a, clockid_t b);
It could have a third argument, n_samples, that would only be used for "slow" clocks like PCIe MACs. The system call would return the offset from the shortest measurement (which is really what user space needs).
Thanks, Richard
| |