On Thu, Jun 14, 2018 at 06:56:29AM +0000, Anders Selhammer wrote: > Only the code get a little bit cleaner and you made like this in NSM. Off > course > it is another type of utility program.
Yeah, the NSM program does "cut corners" for the sake of simpler code, but in that case I expect the message rate to be really slow, like one message per run. > If you think the waste of CPU time here could be crucial, I will removed this > patch. > Didn“t think that this utility program is used that often so it would make > such a > difference. Well, it depends on the utility. The pmc_common.c code is shared, and at least phc2sys is sending lots of messages with it. The SNMP code might also get hammered with many requests (depending on what the clients do), and so I'd like to keep pmc_common.c the way it is. Thanks, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel