summaryrefslogtreecommitdiff
path: root/src/core/perf_stats.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-12-03 16:08:20 -0800
committerGravatar GitHub2021-12-03 16:08:20 -0800
commita2fb5a13b2b00922d1f4fcc6dc41849704fa0f89 (patch)
tree8feb52b4bd0afa965b0865ef00e5f8739b07d3df /src/core/perf_stats.h
parentMerge pull request #7490 from Morph1984/stub-album-save-screenshot (diff)
parentgeneral: Replace high_resolution_clock with steady_clock (diff)
downloadyuzu-a2fb5a13b2b00922d1f4fcc6dc41849704fa0f89.tar.gz
yuzu-a2fb5a13b2b00922d1f4fcc6dc41849704fa0f89.tar.xz
yuzu-a2fb5a13b2b00922d1f4fcc6dc41849704fa0f89.zip
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.h4
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:
33 explicit PerfStats(u64 title_id_); 33 explicit PerfStats(u64 title_id_);
34 ~PerfStats(); 34 ~PerfStats();
35 35
36 using Clock = std::chrono::high_resolution_clock; 36 using Clock = std::chrono::steady_clock;
37 37
38 void BeginSystemFrame(); 38 void BeginSystemFrame();
39 void EndSystemFrame(); 39 void EndSystemFrame();
@@ -87,7 +87,7 @@ private:
87 87
88class SpeedLimiter { 88class SpeedLimiter {
89public: 89public:
90 using Clock = std::chrono::high_resolution_clock; 90 using Clock = std::chrono::steady_clock;
91 91
92 void DoSpeedLimiting(std::chrono::microseconds current_system_time_us); 92 void DoSpeedLimiting(std::chrono::microseconds current_system_time_us);
93 93