Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Timer frequency #424
Apps are probably bumping the timer frequency already, but in case they aren't, we don't want to accidentally miss milliseconds. This patch adds an RAII class to increase/decrease the timer frequency, and hooks it up to the server idle mechanism (so we won't spin up the timer frequency if we're supposed to be idling).
Even @randomascii says it's OK, because VR is a special case where you can see milliseconds