summaryrefslogtreecommitdiffstats
path: root/src/common/x64/cpu_detect.h
diff options
context:
space:
mode:
authorMarshall Mohror <mohror64@gmail.com>2022-07-06 19:42:01 +0200
committerMarshall Mohror <mohror64@gmail.com>2022-07-06 19:42:01 +0200
commitb2ad4dd189135be9a87af86619d6f5854525f7fa (patch)
treed290710b8975e063db7c38ef497e46cfdc71301f /src/common/x64/cpu_detect.h
parentMerge pull request #8486 from liushuyu/github-actions-verify (diff)
downloadyuzu-b2ad4dd189135be9a87af86619d6f5854525f7fa.tar
yuzu-b2ad4dd189135be9a87af86619d6f5854525f7fa.tar.gz
yuzu-b2ad4dd189135be9a87af86619d6f5854525f7fa.tar.bz2
yuzu-b2ad4dd189135be9a87af86619d6f5854525f7fa.tar.lz
yuzu-b2ad4dd189135be9a87af86619d6f5854525f7fa.tar.xz
yuzu-b2ad4dd189135be9a87af86619d6f5854525f7fa.tar.zst
yuzu-b2ad4dd189135be9a87af86619d6f5854525f7fa.zip
Diffstat (limited to '')
-rw-r--r--src/common/x64/cpu_detect.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/x64/cpu_detect.h b/src/common/x64/cpu_detect.h
index 9bdc9dbfa..6830f3795 100644
--- a/src/common/x64/cpu_detect.h
+++ b/src/common/x64/cpu_detect.h
@@ -30,6 +30,11 @@ struct CPUCaps {
u32 max_frequency;
u32 bus_frequency;
+ u32 tsc_crystal_ratio_denominator;
+ u32 tsc_crystal_ratio_numerator;
+ u32 crystal_frequency;
+ u64 tsc_frequency; // Derived from the above three values
+
bool sse : 1;
bool sse2 : 1;
bool sse3 : 1;