Yuzu game5/21/2023 ![]() Ultimate, and many others.įurthermore, this may also improve performance for CPUs that have low core counts and/or are power limited, such as those used in laptops or gaming handhelds.Īdditional changes were made to this PR, including: This results in significantly lower CPU usage in core timing heavy games such as Kirby and the Forgotten Land, Super Smash Bros. This was achieved by utilizing the undocumented ntdll functions NtSetTimerResolution and NtDelayExecution. Increasing the timer resolution from 1ms to 0.5ms allows us to have 500 microsecond sleeps, which significantly reduces the amount of time needed during the spin-wait. While QueryPerformanceCounter has a lower precision than RDTSC, it offers sufficient precision (microsecond precision) for our needs. This was done by implementing a high resolution Stead圜lock, which is ~2.5x faster compared to querying RDTSC. Reducing the cost of querying the current time.This PR aims to reduce CPU usage on Windows caused by the CoreTiming event loop in 2 ways:
0 Comments
Leave a Reply. |