summaryrefslogtreecommitdiffstats
path: root/src/core/perf_stats.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-12-02 20:20:43 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-12-02 20:20:43 +0100
commit762b8ad448369cc770beae4d8368a6258b13709e (patch)
treecff2c5d404b77e93e875fbf40cf78ea6d30d32b0 /src/core/perf_stats.h
parentMerge pull request #7483 from zhaobot/tx-update-20211201022129 (diff)
downloadyuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar
yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.gz
yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.bz2
yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.lz
yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.xz
yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.zst
yuzu-762b8ad448369cc770beae4d8368a6258b13709e.zip
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:
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);