summaryrefslogtreecommitdiff
path: root/src/core/perf_stats.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-02-26 17:13:12 -0800
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-02-26 17:22:04 -0800
commit174464a87f2e1709597bc1e0cb08c877487a771b (patch)
tree28cc23a81983f85040744512648291acc9e0f5af /src/core/perf_stats.cpp
parent1469b3212b7bbc320844e3ea747c995bf3437552 (diff)
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() {
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) {