summaryrefslogtreecommitdiffstats
path: root/src/common/x64/native_clock.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-01-01 23:28:55 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-01-02 00:43:47 +0100
commitd4f871cb6a616f6b1a8a76049e042118571f3dd3 (patch)
tree0dc75cf49ce8240fb282b522dc2989eb8894b979 /src/common/x64/native_clock.h
parentMerge pull request #5271 from MerryMage/rm-mem-Special (diff)
downloadyuzu-d4f871cb6a616f6b1a8a76049e042118571f3dd3.tar
yuzu-d4f871cb6a616f6b1a8a76049e042118571f3dd3.tar.gz
yuzu-d4f871cb6a616f6b1a8a76049e042118571f3dd3.tar.bz2
yuzu-d4f871cb6a616f6b1a8a76049e042118571f3dd3.tar.lz
yuzu-d4f871cb6a616f6b1a8a76049e042118571f3dd3.tar.xz
yuzu-d4f871cb6a616f6b1a8a76049e042118571f3dd3.tar.zst
yuzu-d4f871cb6a616f6b1a8a76049e042118571f3dd3.zip
Diffstat (limited to 'src/common/x64/native_clock.h')
-rw-r--r--src/common/x64/native_clock.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/x64/native_clock.h b/src/common/x64/native_clock.h
index 6d1e32ac8..a7b1ee9e0 100644
--- a/src/common/x64/native_clock.h
+++ b/src/common/x64/native_clock.h
@@ -41,6 +41,13 @@ private:
u64 last_measure{};
u64 accumulated_ticks{};
u64 rtsc_frequency;
+
+ // factors
+ u64 ns_rtsc_factor{};
+ u64 us_rtsc_factor{};
+ u64 ms_rtsc_factor{};
+ u64 clock_rtsc_factor{};
+ u64 cpu_rtsc_factor{};
};
} // namespace X64