aboutsummaryrefslogtreecommitdiff
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
commitee5d112e192ddbbedf066dfd6554914231aa278e (patch)
tree8b6b2f943bbf2fc749dbe144eee26cd144c084c9 /src/common/x64/native_clock.h
parent801409b5ac28f3d4b5db2da14017fa8ad0025e13 (diff)
parent3adeb694b0f55b97701e9233255460300c2ebad0 (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 30d2ba2e91..38ae7a4625 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{};