summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-10-14 22:18:43 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-10-14 22:18:43 -0700
commit1ec7a1d547d8998badef243a136878b199992219 (patch)
treed4803c2a7f22b6bf9409c7ee8796700ae26c240d /include
parentf8490fe476c0c219efb506c5416a8dea7af2fe34 (diff)
parentdc4c5bf55ae7a7022cedb5ea46621c9f574a597e (diff)
downloadframeworks_native-1ec7a1d547d8998badef243a136878b199992219.zip
frameworks_native-1ec7a1d547d8998badef243a136878b199992219.tar.gz
frameworks_native-1ec7a1d547d8998badef243a136878b199992219.tar.bz2
Merge "Revert to using epoll_wait()." into gingerbread
Diffstat (limited to 'include')
-rw-r--r--include/utils/Looper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/utils/Looper.h b/include/utils/Looper.h
index cc51490..eefff31 100644
--- a/include/utils/Looper.h
+++ b/include/utils/Looper.h
@@ -24,10 +24,10 @@
#include <android/looper.h>
-// Currently using poll() instead of epoll_wait() since it does a better job of meeting a
-// timeout deadline. epoll_wait() typically causes additional delays of up to 10ms
-// beyond the requested timeout.
-//#define LOOPER_USES_EPOLL
+// When defined, uses epoll_wait() for polling, otherwise uses poll().
+#define LOOPER_USES_EPOLL
+
+// When defined, logs performance statistics for tuning and debugging purposes.
//#define LOOPER_STATISTICS
#ifdef LOOPER_USES_EPOLL