summaryrefslogtreecommitdiff
path: root/src/common/x64/native_clock.h
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-06-30 12:38:50 +0200
committerGitHub <noreply@github.com>2022-06-30 12:38:50 +0200
commit603952bc27aca2e17d39def7710d9af36791f15c (patch)
tree8b6b2f943bbf2fc749dbe144eee26cd144c084c9 /src/common/x64/native_clock.h
parent4ef66ec8fbb8c863db9063fe2bd332f22a5748ee (diff)
parent3196d957b02266293b68a60c75c3db9a00faf1f6 (diff)
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:
} inner;
};
- /// value used to reduce the native clocks accuracy as some apss rely on
- /// undefined behavior where the level of accuracy in the clock shouldn't
- /// be higher.
- static constexpr u64 inaccuracy_mask = ~(UINT64_C(0x400) - 1);
-
TimePoint time_point;
+
// factors
u64 clock_rtsc_factor{};
u64 cpu_rtsc_factor{};