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
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:
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
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