aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartin Kelly <martin@martingkelly.com>2019-02-02 13:56:00 -0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-02-09 15:24:27 +0000
commit0a3f50e4d698e3d46ce10171dcd076c927bb60a8 (patch)
tree2070a154e04ab6377050df1b6e172522589c0588 /tools/perf/scripts/python/export-to-postgresql.py
parentdt-bindings: bmi160 document open-drain property (diff)
downloadlinux-0a3f50e4d698e3d46ce10171dcd076c927bb60a8.tar.gz
linux-0a3f50e4d698e3d46ce10171dcd076c927bb60a8.zip
iio:bmi160: use iio_pollfunc_store_time
Currently, we snap the timestamp after reading from the buffer and processing the event. When the IIO poll function is triggered by an interrupt, 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. Do this by using iio_pollfunc_store_time as other drivers do. Signed-off-by: Martin Kelly <martin@martingkelly.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions