On Thu, Jan 05, 2023 at 09:54:21AM -0500, Jason Lehmann wrote:
> 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?
That doesn't sound unreasonable.
If you want better performance, you can script your own PMC client using:
https://github.com/erezgeva/libpmc
HTH,
Richard
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users