[Linuxptp-users] PMC Response Time

2023-01-05 Thread Jason Lehmann
Hello, I am polling pmc in a thread at 1hz in a program with the following command - statusResp = exec("pmc -u -s /var/run/ptp4lro -i /tmp/pmc.socket 'GET TIME_STATUS_NP'"); It returns the status but takes about 100ms to execute.  Is this time expected or is there a way to reduce it? Tha

Re: [Linuxptp-users] PMC Without Root

2022-10-03 Thread Jason Lehmann
Hi Martin, This is exactly the info I needed to make the pmc call work! Thanks, Jason On 10/3/2022 9:52 AM, Martin Pecka wrote: Hi Jason, that's what the readonly UDS socket is for. With default configuration and PTP4L master branch, this is how you can query TIME_STATUS_NP without root:

[Linuxptp-users] PMC Without Root

2022-10-02 Thread Jason Lehmann
Hi, I've been using PMC to get TIME_STATUS_NP in a project created by a previous software engineer.  The current system I am using has now been locked down to where any sudo commands issued require the entry of a password therefore stopping the current implementation from working.  I've seen

Re: [Linuxptp-users] Enable Networking Time Jump

2021-01-25 Thread Jason Lehmann
Hi Jake, Thanks for the suggestion.  I was able to try it out and it seemed to work without an issue for the few times I tried the sequence of events.  My main concern was that my program uses an absolute sleep and if the clock performed a step then it may pause processing for a larger than e