[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-netdev
Subject:    Re: [PATCH 3/4] ptp: add ioctl interface for ptp_gettimex64any()
From:       Richard Cochran <richardcochran () gmail ! com>
Date:       2023-09-30 23:07:29
Message-ID: ZRiqMTwkqqXUYPPB () hoboy ! vegasvil ! org
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic