+6
−3
+11
−2
+2
−0
adb/fdevent/fdevent_epoll.cpp
0 → 100644
+200
−0
adb/fdevent/fdevent_epoll.h
0 → 100644
+61
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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