diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-03 16:08:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 16:08:20 -0800 |
commit | a2fb5a13b2b00922d1f4fcc6dc41849704fa0f89 (patch) | |
tree | 8feb52b4bd0afa965b0865ef00e5f8739b07d3df /src/core/perf_stats.h | |
parent | fdcc161323a061d81c09cfbf5b199d62fdd9983e (diff) | |
parent | 762b8ad448369cc770beae4d8368a6258b13709e (diff) |
Merge pull request #7489 from Morph1984/steady-clock
general: Replace high_resolution_clock with steady_clock
Diffstat (limited to 'src/core/perf_stats.h')
-rw-r--r-- | src/core/perf_stats.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/perf_stats.h b/src/core/perf_stats.h index a2541906f..816202588 100644 --- a/src/core/perf_stats.h +++ b/src/core/perf_stats.h @@ -33,7 +33,7 @@ public: explicit PerfStats(u64 title_id_); ~PerfStats(); - using Clock = std::chrono::high_resolution_clock; + using Clock = std::chrono::steady_clock; void BeginSystemFrame(); void EndSystemFrame(); @@ -87,7 +87,7 @@ private: class SpeedLimiter { public: - using Clock = std::chrono::high_resolution_clock; + using Clock = std::chrono::steady_clock; void DoSpeedLimiting(std::chrono::microseconds current_system_time_us); |