summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-10-14 22:21:40 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-14 22:21:40 -0700
commitdc3ad87c04348c925aa86863ed6d25f18a8c6c36 (patch)
treebbfc1757df259991362a3159742cd8147c820a56 /include
parentebad42d6d35dc0dc07fe89650268453dbdff8a79 (diff)
parent78a76fea28b8101c1860a2f1115329e3e63abda3 (diff)
downloadframeworks_base-dc3ad87c04348c925aa86863ed6d25f18a8c6c36.zip
frameworks_base-dc3ad87c04348c925aa86863ed6d25f18a8c6c36.tar.gz
frameworks_base-dc3ad87c04348c925aa86863ed6d25f18a8c6c36.tar.bz2
am 78a76fea: Merge "Revert to using epoll_wait()." into gingerbread
Merge commit '78a76fea28b8101c1860a2f1115329e3e63abda3' into gingerbread-plus-aosp * commit '78a76fea28b8101c1860a2f1115329e3e63abda3': Revert to using epoll_wait().
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