aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kelly <[email protected]>2019-02-02 13:56:00 -0800
committerJonathan Cameron <[email protected]>2019-02-09 15:24:27 +0000
commit0a3f50e4d698e3d46ce10171dcd076c927bb60a8 (patch)
tree2070a154e04ab6377050df1b6e172522589c0588 /tools/perf/scripts/python
parentb7905e4c5731636a2148039288bdc77599c14d6a (diff)
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions