57a005ff3e
GetName() creates a new evdev device which calls tons of ioctls. But the main culprit is close() which for input devices appears to be a slow path in the kernel. This commit reduces PopulateDevices() by 50% on my laptop, but ~730 ms is still ridiculously slow for something that isn't needed right away. |
||
---|---|---|
.. | ||
ControllerInterface | ||
CMakeLists.txt | ||
ControllerEmu.cpp | ||
ControllerEmu.h | ||
GCAdapter.cpp | ||
GCAdapter.h | ||
GCAdapter_Android.cpp | ||
GCPadStatus.h | ||
InputCommon.vcxproj | ||
InputCommon.vcxproj.filters | ||
InputConfig.cpp | ||
InputConfig.h | ||
KeyboardStatus.h |