Thread (4 messages) 4 messages, 2 authors, 2014-03-30

TX timestamping

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help