i.e. Time A = voltage goes to the mains adapter; Time B = A selector from the Java NIO package can select a socket channel for I / O.
Use SO_TIMESTAMP and find a network adapter that actually supports timestamps, and one that supports timestamps with a resolution of more than a million. Then you should have a chance if you can get Java to read the incoming cmsgsupporting data.
cmsg
.
(edit # 1) C, 2.6.30 , :
http://www.mjmwired.net/kernel/Documentation/networking/timestamping/timestamping.c
( # 2) C:
http://vilimpoc.org/research/ku-latency/
(edit # 3) J-OWAMP, . OWAMP Linux SO_TIMESTAMP.
http://www.av.it.pt/jowamp/
- tcpdump, "", , jvm.
Source: https://habr.com/ru/post/1781335/More articles:question about using xhtml2pdf to analyze css from a site - pythonMovie DB - storing actors / actresses / tags? - databaseSerialize as an object using json.net - javascriptDisplaying the Directory List - / Browser - asp.netLazy evaluation and problems with constant correctness - c ++How to use OpenID for authentication in WCF data services from a Windows Phone 7 application? - asp.net-mvcJava Swing closes ONLY one application - javaWhen implementing the JSONRPC 2.0 server, support for both nominal and positional arguments is required? - json-rpcRails helper method that works differently in different environments - ruby | fooobar.comPython command line programming examples, recipes - pythonAll Articles