commit | 0334f4068ae77ffc4e2579726e5274fec51c64b1 | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Sun May 14 23:12:45 2017 -0700 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Tue Aug 22 15:08:40 2017 -0700 |
tree | 9a5de415dc4405bfd2a5f0eaaaff89fcb0f785d3 | |
parent | 1c88c8e7b28b1b76eb528f6756db56e837bc2382 [diff] |
Postpone enqueue of gyro otc update to avoid increasing latency Postpone enqueue of gyro otc update packet until all sensor fifo data is processed to avoid causing additional event latency. This CL reduces number of >7ms latency events from ~60 per 5min test session @ 200Hz gyro to less than 3 per 5min test session @ 200Hz gyro (tested with all nanoapp stopped). Bug: 37293077 Test: gyro otc update still get to AP regularly Change-Id: I854c5ffa59641c28314c648d8cb912f44ef70f8d