summaryrefslogtreecommitdiff
path: root/src/core/perf_stats.h
diff options
context:
space:
mode:
authorGravatar Feng Chen2021-12-18 13:57:14 +0800
committerGravatar GitHub2021-12-18 13:57:14 +0800
commite49184e6069a9d791d2df3c1958f5c4b1187e124 (patch)
treeb776caf722e0be0e680f67b0ad0842628162ef1c /src/core/perf_stats.h
parentImplement convert legacy to generic (diff)
parentMerge pull request #7570 from ameerj/favorites-expanded (diff)
downloadyuzu-e49184e6069a9d791d2df3c1958f5c4b1187e124.tar.gz
yuzu-e49184e6069a9d791d2df3c1958f5c4b1187e124.tar.xz
yuzu-e49184e6069a9d791d2df3c1958f5c4b1187e124.zip
Merge branch 'yuzu-emu:master' into convert_legacy
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