PerfStats: Re-order and document members better

This commit is contained in:
Yuri Kunde Schlesner
2017-02-26 17:13:12 -08:00
parent 1469b3212b
commit 174464a87f
2 changed files with 15 additions and 6 deletions

View File

@ -76,7 +76,7 @@ double PerfStats::GetLastFrameTimeScale() {
void FrameLimiter::DoFrameLimiting(u64 current_system_time_us) {
// Max lag caused by slow frames. Can be adjusted to compensate for too many slow frames. Higher
// values increases time needed to limit frame rate after spikes.
// values increase the time needed to recover and limit framerate again after spikes.
constexpr microseconds MAX_LAG_TIME_US = 25ms;
if (!Settings::values.toggle_framelimit) {