aboutsummaryrefslogtreecommitdiff
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
commitb50b227f94dd207acd9e0eaefa29c383842da083 (patch)
tree28cc23a81983f85040744512648291acc9e0f5af /src/core/perf_stats.cpp
parent5b6f06217751a2f5d15f26917b5cd4d5b17d5396 (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 eb59a13321..2cdfb9dedd 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) {