summaryrefslogtreecommitdiff
path: root/src/core/perf_stats.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2017-02-26 17:13:12 -0800
committerGravatar Yuri Kunde Schlesner2017-02-26 17:22:04 -0800
commit174464a87f2e1709597bc1e0cb08c877487a771b (patch)
tree28cc23a81983f85040744512648291acc9e0f5af /src/core/perf_stats.cpp
parentQt: Tweak status bar styling (diff)
downloadyuzu-174464a87f2e1709597bc1e0cb08c877487a771b.tar.gz
yuzu-174464a87f2e1709597bc1e0cb08c877487a771b.tar.xz
yuzu-174464a87f2e1709597bc1e0cb08c877487a771b.zip
PerfStats: Re-order and document members better
Diffstat (limited to 'src/core/perf_stats.cpp')
-rw-r--r--src/core/perf_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/perf_stats.cpp b/src/core/perf_stats.cpp
index eb59a1332..2cdfb9ded 100644
--- a/src/core/perf_stats.cpp
+++ b/src/core/perf_stats.cpp
@@ -76,7 +76,7 @@ double PerfStats::GetLastFrameTimeScale() {
76 76
77void FrameLimiter::DoFrameLimiting(u64 current_system_time_us) { 77void FrameLimiter::DoFrameLimiting(u64 current_system_time_us) {
78 // Max lag caused by slow frames. Can be adjusted to compensate for too many slow frames. Higher 78 // Max lag caused by slow frames. Can be adjusted to compensate for too many slow frames. Higher
79 // values increases time needed to limit frame rate after spikes. 79 // values increase the time needed to recover and limit framerate again after spikes.
80 constexpr microseconds MAX_LAG_TIME_US = 25ms; 80 constexpr microseconds MAX_LAG_TIME_US = 25ms;
81 81
82 if (!Settings::values.toggle_framelimit) { 82 if (!Settings::values.toggle_framelimit) {