OSDN Git Service

Increase poll max size, avoid performance issue when batching
authorPeng Xu <pengxu@google.com>
Thu, 4 May 2017 23:36:37 +0000 (16:36 -0700)
committerPeng Xu <pengxu@google.com>
Fri, 5 May 2017 00:07:34 +0000 (17:07 -0700)
commite337dfe3d250dabcbdc9d4c8e9620f76b96b4562
tree74962e5242e2b42a01b7d29ff691d2e7a2cc3a31
parent2499a69dfdb2a85ac82554f3e73d731fd8c656b3
Increase poll max size, avoid performance issue when batching

Vts polls sensor events with max size of 1, which can cause
performance issue when batching. Increase it to 64 to help eliminate
potential performance issue.

Note this CL has no change in behavior of test.

Test: VTS target test pass on several devices
Change-Id: I04a6791f407ec0a54eb6cd8df4d4ef41e8a89c12
sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp