OSDN Git Service

STPK-1429 Slight improvement to timestamp accuracy
authorPatrick Porlan <patrick.porlan@intel.com>
Fri, 30 May 2014 09:57:11 +0000 (11:57 +0200)
committersuyyala <sridhar.uyyala@intel.com>
Sat, 7 Jun 2014 16:37:10 +0000 (09:37 -0700)
commitf052d7d48e10fdf2f396e18de18567ab4421461b
tree45f9ee6cdc65329ffdd02d56d695f7036dea2a89
parentd93e8b62cf3b44fd0d3b16093dd87bd44f8dd370
STPK-1429 Slight improvement to timestamp accuracy

Use date immediately before the iio device read operation instead
of sensor report propagation time as the event timestamp. That's
only an intermediate step towards higher precision timestamps
though, as some drivers expose a timestamp channel we can read at
the same time as associated sample data.

Issue: STPK-1429

Change-Id: Iad5e1dc35fcbd422d3d1390cab202e3c36de8504
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
common.h
control.c