OSDN Git Service

STPK-1429 Add a trace warning of unusually high sysfs read times
authorPatrick Porlan <patrick.porlan@intel.com>
Thu, 26 Jun 2014 13:17:09 +0000 (15:17 +0200)
committerPatrick Porlan <patrick.porlan@intel.com>
Thu, 26 Jun 2014 13:31:17 +0000 (15:31 +0200)
commit86ec10d14209c813c3751ff4bdab414ab094ce11
tree1e17b8ad51c4335372e117e70bf1c8d624401300
parent0d868f7e6ed8e7157db765fff7cf491dccb28fa6
STPK-1429 Add a trace warning of unusually high sysfs read times

It looks like some sensors (proximity on MRD 7 perhaps) have
acquisition times in the order of several hundred ms. Help
flag those with a trace warning of combined (all channels)
acquisition times larger than 100 ms. None of the T100 sensors
(magnetometer, temperature, ALS) have this problem though.

Issue: STPK-1429

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