summaryrefslogtreecommitdiff
path: root/src/common/x64/native_clock.h
diff options
context:
space:
mode:
authorGravatar Fernando S2022-06-30 12:38:50 +0200
committerGravatar GitHub2022-06-30 12:38:50 +0200
commit603952bc27aca2e17d39def7710d9af36791f15c (patch)
tree8b6b2f943bbf2fc749dbe144eee26cd144c084c9 /src/common/x64/native_clock.h
parentMerge pull request #8518 from yuzu-emu/revert-8379-amd-push-desc-workaround (diff)
parentAdress Feedback. (diff)
downloadyuzu-603952bc27aca2e17d39def7710d9af36791f15c.tar.gz
yuzu-603952bc27aca2e17d39def7710d9af36791f15c.tar.xz
yuzu-603952bc27aca2e17d39def7710d9af36791f15c.zip
Merge pull request #7454 from FernandoS27/new-core-timing
Core: Remake Core Timing
Diffstat (limited to 'src/common/x64/native_clock.h')
-rw-r--r--src/common/x64/native_clock.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/x64/native_clock.h b/src/common/x64/native_clock.h
index 30d2ba2e9..38ae7a462 100644
--- a/src/common/x64/native_clock.h
+++ b/src/common/x64/native_clock.h
@@ -37,12 +37,8 @@ private:
37 } inner; 37 } inner;
38 }; 38 };
39 39
40 /// value used to reduce the native clocks accuracy as some apss rely on
41 /// undefined behavior where the level of accuracy in the clock shouldn't
42 /// be higher.
43 static constexpr u64 inaccuracy_mask = ~(UINT64_C(0x400) - 1);
44
45 TimePoint time_point; 40 TimePoint time_point;
41
46 // factors 42 // factors
47 u64 clock_rtsc_factor{}; 43 u64 clock_rtsc_factor{};
48 u64 cpu_rtsc_factor{}; 44 u64 cpu_rtsc_factor{};