Timestamps with SocketCAN using recvmsg and ioctl
Posted: Wed 17. Jun 2015, 17:50
Hi,
I am currently looking into SocketCAN with a focus on timestamps.
My setup is as following:
Ubuntu 14.01LTS Laptop (Kernel 3.16.0)
SocketCAN
PCAN USB Adapter using the mainline driver
My question is: What kind of timestamp is generated when using recvmsg (HW timestamp, driver timestamp ,...)?
Is there a difference when using ioctl as I read in some internet forums?
Thanks for your help!
I am currently looking into SocketCAN with a focus on timestamps.
My setup is as following:
Ubuntu 14.01LTS Laptop (Kernel 3.16.0)
SocketCAN
PCAN USB Adapter using the mainline driver
My question is: What kind of timestamp is generated when using recvmsg (HW timestamp, driver timestamp ,...)?
Is there a difference when using ioctl as I read in some internet forums?
Thanks for your help!