TX timestamping
From: Pavel Kirienko <hidden>
Date: 2014-03-20 16:28:09
From: Pavel Kirienko <hidden>
Date: 2014-03-20 16:28:09
Hi linux-can, What are my options to get the hardware TX timestamp of an outgoing CAN frame? I couldn't find complete manual for that, but here's what I googled so far: 1. Use generic socket timestamping, as described in the network man (http://os1a.cs.columbia.edu/lxr/source/Documentation/networking/timestamping.txt?a=x86); 2. Read my own frames back through CAN_RAW_RECV_OWN_MSGS, supposedly RX timestamps of the loopbacked frames will be the same as their TX timestamps. Are these the correct methods? Thanks in advance, Pavel.