aboutsummaryrefslogtreecommitdiff
path: root/src/common/logging/text_formatter.cpp
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2018-08-21 14:35:10 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2018-08-21 14:50:50 +0100
commit3f4fb4b0370d7dc9a0f1e7fc4b006d9f27cb5135 (patch)
tree80688c0dc1b6d386ccc7fd6c9a3f7484c6887794 /src/common/logging/text_formatter.cpp
parentbf89a99839abb30e33872b8401eae30cd95e7585 (diff)
perf_stats: Change MAX_LAG_TIME_US to an appropriate value
25us is far too small, and would result in std::this_thread::sleep_for being called with this as a maximum value. This means that a guest application that produces frames instantly would only be limited to 40 kHz. 25ms is a more appropriate value, as it allows for a 60 Hz refresh rate while providing enough slack in the negative region.
Diffstat (limited to 'src/common/logging/text_formatter.cpp')
0 files changed, 0 insertions, 0 deletions