diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 01:56:21 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-24 04:10:01 +0200 |
commit | 9dfbc9bdce15c299faf06aa7bf68a8660366daee (patch) | |
tree | 83ae648f51b4d0d2bb484741f86f5fb9bce8d00b /src/core/perf_stats.h | |
parent | Merge pull request #6686 from ReinUsesLisp/vk-optimal-copy (diff) | |
download | yuzu-9dfbc9bdce15c299faf06aa7bf68a8660366daee.tar yuzu-9dfbc9bdce15c299faf06aa7bf68a8660366daee.tar.gz yuzu-9dfbc9bdce15c299faf06aa7bf68a8660366daee.tar.bz2 yuzu-9dfbc9bdce15c299faf06aa7bf68a8660366daee.tar.lz yuzu-9dfbc9bdce15c299faf06aa7bf68a8660366daee.tar.xz yuzu-9dfbc9bdce15c299faf06aa7bf68a8660366daee.tar.zst yuzu-9dfbc9bdce15c299faf06aa7bf68a8660366daee.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/perf_stats.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/perf_stats.h b/src/core/perf_stats.h index e5d603717..a2541906f 100644 --- a/src/core/perf_stats.h +++ b/src/core/perf_stats.h @@ -85,11 +85,11 @@ private: double previous_fps = 0; }; -class FrameLimiter { +class SpeedLimiter { public: using Clock = std::chrono::high_resolution_clock; - void DoFrameLimiting(std::chrono::microseconds current_system_time_us); + void DoSpeedLimiting(std::chrono::microseconds current_system_time_us); private: /// Emulated system time (in microseconds) at the last limiter invocation @@ -98,7 +98,7 @@ private: Clock::time_point previous_walltime = Clock::now(); /// Accumulated difference between walltime and emulated time - std::chrono::microseconds frame_limiting_delta_err{0}; + std::chrono::microseconds speed_limiting_delta_err{0}; }; } // namespace Core |