Re: [PATCH 1/2] iio: bmi160: snap timestamp closer to event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/19/18 12:45 AM, Daniel Baluta wrote:
On Mon, Nov 19, 2018 at 2:54 AM Martin Kelly <martin@xxxxxxxxxxxxxxxx> wrote:

From: Martin Kelly <martin@xxxxxxxxxxxxxxxx>

Currently, we snap the timestamp after reading from the buffer and
processing the event. Technically, we can get a slightly more accurate
timestamp by snapping it prior to reading the data, since the data was
already generated prior to entering the trigger handler. This is not going
to make a huge difference, but we might as well improve slightly.

Signed-off-by: Martin Kelly <martin@xxxxxxxxxxxxxxxx>

Makes sense to me.

Acked-by: Daniel Baluta <daniel.baluta@xxxxxxxxx>

Would be nice to see some datapoints and compare the differences.


I agree. I'm a bit short of time this week because of Thanksgiving, but
I'll try to do a bit of timing testing before and after the patch next week.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux