diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-04-23 06:01:08 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-06-08 03:44:42 +0200 |
commit | 8e56a84566036cfff0aa5c3d80ae1b051d2bd0bf (patch) | |
tree | 2bb7be86aafe9986811758b508a7581d2efe8ac4 /src/core/core_timing.h | |
parent | nvnflinger: Acquire lock prior to signaling the vsync variable (diff) | |
download | yuzu-8e56a84566036cfff0aa5c3d80ae1b051d2bd0bf.tar yuzu-8e56a84566036cfff0aa5c3d80ae1b051d2bd0bf.tar.gz yuzu-8e56a84566036cfff0aa5c3d80ae1b051d2bd0bf.tar.bz2 yuzu-8e56a84566036cfff0aa5c3d80ae1b051d2bd0bf.tar.lz yuzu-8e56a84566036cfff0aa5c3d80ae1b051d2bd0bf.tar.xz yuzu-8e56a84566036cfff0aa5c3d80ae1b051d2bd0bf.tar.zst yuzu-8e56a84566036cfff0aa5c3d80ae1b051d2bd0bf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core_timing.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h index e7c4a949f..fdacdd94a 100644 --- a/src/core/core_timing.h +++ b/src/core/core_timing.h @@ -116,15 +116,9 @@ public: return downcount; } - /// Returns current time in emulated CPU cycles - u64 GetCPUTicks() const; - - /// Returns current time in emulated in Clock cycles + /// Returns the current CNTPCT tick value. u64 GetClockTicks() const; - /// Returns current time in nanoseconds. - std::chrono::nanoseconds GetCPUTimeNs() const; - /// Returns current time in microseconds. std::chrono::microseconds GetGlobalTimeUs() const; @@ -142,8 +136,7 @@ private: void Reset(); - std::unique_ptr<Common::WallClock> cpu_clock; - std::unique_ptr<Common::WallClock> event_clock; + std::unique_ptr<Common::WallClock> clock; s64 global_timer = 0; |