OSDN Git Service

STPK-1429 Remove articifial delay between poll exits
authorPatrick Porlan <patrick.porlan@intel.com>
Mon, 26 May 2014 08:39:07 +0000 (10:39 +0200)
committersuyyala <sridhar.uyyala@intel.com>
Sat, 7 Jun 2014 16:35:57 +0000 (09:35 -0700)
commit0332aa6be038c5088f6dcc2e9834cc66691ea091
treef15023f07b8dac050d1b7c6ddc33505e7f990901
parentffff8c16e155b32e5d490208522a6470da8488a6
STPK-1429 Remove articifial delay between poll exits

I introduced a minimum 1 ms delay between poll operations
early in development as a way to limit CPU usage in case
of problems with a sensor. That has become a significant
source of jitter now that we control a bunch of sensors
from that loop, and never was a good way to handle
misbehaving sensors anyway (we yet have to devise one).

This commits removes this forced gap between the last
poll exit and the next poll entry.

Issue: STPK-1429

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