OSDN Git Service

Optimize EventHub to process events in big chunks. (DO NOT MERGE)
authorJeff Brown <jeffbrown@google.com>
Sat, 19 Mar 2011 01:14:26 +0000 (18:14 -0700)
committerJeff Brown <jeffbrown@android.com>
Tue, 24 May 2011 22:21:21 +0000 (15:21 -0700)
commitdbf8d27f4c32e20e132e90ad713c6ebaf71d7756
treea7dbe3db8501916c9b564c12bd997b59335c9182
parent68d6075b4ad2205c10064c78cde552e3210cca91
Optimize EventHub to process events in big chunks. (DO NOT MERGE)

When 10 fingers are down, reduces the CPU time spent by the InputReader
thread from ~30% to ~5% on Stingray.

Change-Id: I42ee5c67b8521af715cbab43e763a4af4eb1f914
services/input/EventHub.cpp
services/input/EventHub.h
services/input/InputReader.cpp
services/input/InputReader.h
services/input/tests/InputReader_test.cpp