On Thu, 24 Mar 2022 at 18:35, Richard Cochran <richardcoch...@gmail.com> wrote:
> On Thu, Mar 24, 2022 at 05:18:28PM +0000, Geva, Erez wrote: > > Hi, > > > > What do you think of: > > https://sourceforge.net/p/libpmc/code/ci/master/tree/sample/sync.pl > > https://github.com/erezgeva/libpmc/blob/master/sample/sync.pl > > > > I wrote it in Perl, but can easily translate to C++ or other scripts > languages. > > Nice. I'll try one in tcl when I get the chance... > Great. If you wish to share, I would be happy to add samples in TCL. Though I personally do not write in TCL, I can recommend TCL and Lua as the faster languages for scripts. ===== Run perl ===== real 0m0.046s ===== Run ruby ===== real 0m0.100s ===== Run lua ===== lua 5.1 ---- real 0m0.020s lua 5.2 ---- real 0m0.024s lua 5.3 ---- real 0m0.018s ===== Run python ===== python3.9 ---- real 0m0.043s ===== Run php ===== real 0m0.047s ===== Run tcl ===== real 0m0.019s Erez > > Thanks, > Richard > > > _______________________________________________ > Linuxptp-devel mailing list > Linuxptp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linuxptp-devel >
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel