diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-10-14 22:18:43 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-10-14 22:18:43 -0700 |
commit | 78a76fea28b8101c1860a2f1115329e3e63abda3 (patch) | |
tree | c4e75c2b58ff80abd29db1527e45d8d034d13d8c /include | |
parent | 3fbfee2febf13bcc46c389ebecbf91465ef211b7 (diff) | |
parent | a97e50f20d39d2abf0fab77090dd82bdef4bce7a (diff) | |
download | frameworks_base-78a76fea28b8101c1860a2f1115329e3e63abda3.zip frameworks_base-78a76fea28b8101c1860a2f1115329e3e63abda3.tar.gz frameworks_base-78a76fea28b8101c1860a2f1115329e3e63abda3.tar.bz2 |
Merge "Revert to using epoll_wait()." into gingerbread
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/Looper.h | 8 |
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 |