diff options
| author | MerryMage <MerryMage@users.noreply.github.com> | 2018-08-21 14:35:10 +0100 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2018-08-21 14:50:50 +0100 |
| commit | 2336c6bb5fa12ce5e2c237e792f23a7519984e5a (patch) | |
| tree | 80688c0dc1b6d386ccc7fd6c9a3f7484c6887794 /src/core/crypto/ctr_encryption_layer.cpp | |
| parent | cd3cf87aaac73294437f222226f3dc9ea798af65 (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/core/crypto/ctr_encryption_layer.cpp')
0 files changed, 0 insertions, 0 deletions
