mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
On hardware sceKernelSetAlarm takes about 40us, and the handler never runs sooner than about 215us after the alarm is set, however short it asked for (pspautotests threads/scheduling/alarmcosts). Also clamps huge sysclock alarms before converting to cycles; LONG_LONG_MAX used to overflow and go off at once, which the late-firing events had hidden. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>