I was pinging in serial line(UART) using SLIP in PI 2. Ping was reporting certain time. Also, I was using logic analyzer to check the complete duration of packet start to packet end. I found out that the timing is not exactly same. I am wondering what could cause this timing difference?
A normal multitasking OS such as linux, running on a modest processor, has a userspace latency on the order of milliseconds, so being off by 0.35 ms when measuring an event vs. some piece of more dedicated, realtime hardware is to be expected. What would truly be flabbergasting is if they were consistently the same.