summaryrefslogtreecommitdiffstats
path: root/include/utils
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-10-16 09:12:43 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-16 09:12:43 -0700
commit3ee1e7b5ab852a246b45ed903a72409a19645a1b (patch)
treebe04fd9c88a81ee73bfd1da2188957e29e68ebe4 /include/utils
parente1baa9c79ffd9240a20bab88c865afae5ce53e59 (diff)
parentdc3ad87c04348c925aa86863ed6d25f18a8c6c36 (diff)
downloadframeworks_base-3ee1e7b5ab852a246b45ed903a72409a19645a1b.zip
frameworks_base-3ee1e7b5ab852a246b45ed903a72409a19645a1b.tar.gz
frameworks_base-3ee1e7b5ab852a246b45ed903a72409a19645a1b.tar.bz2
am dc3ad87c: am 78a76fea: Merge "Revert to using epoll_wait()." into gingerbread
Merge commit 'dc3ad87c04348c925aa86863ed6d25f18a8c6c36' * commit 'dc3ad87c04348c925aa86863ed6d25f18a8c6c36': Revert to using epoll_wait().
Diffstat (limited to 'include/utils')
-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