b43ad44f4c
Implement an epoll-backed fdevent_context, that reduces overhead when we're polling many file descriptors. FdeventTest.smoke goes from ~5.2s to ~3.3s when run on the host (after this patch's modification to change it from chaining 10 file descriptors together to 512). Test: adb_test on host Test: adbd_test on blueline Test: test_adb.py Test: test_device.py Change-Id: Iacf0093aa7bebea31e447c2cb012af72d8c3297e |
||
---|---|---|
.. | ||
fdevent.cpp | ||
fdevent.h | ||
fdevent_epoll.cpp | ||
fdevent_epoll.h | ||
fdevent_poll.cpp | ||
fdevent_poll.h | ||
fdevent_test.cpp | ||
fdevent_test.h |