summaryrefslogtreecommitdiffstats
path: root/cpudetect.h
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-19 23:52:41 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-19 23:52:41 +0000
commitd6825d6349ebebc2c417a98e7348457e22c1e283 (patch)
tree760d1727f8a436a970b94bf1cc15783313dd767f /cpudetect.h
parent26afe0c58c12731dfc9c655a54401406fb71631a (diff)
downloadmpv-d6825d6349ebebc2c417a98e7348457e22c1e283.tar.bz2
mpv-d6825d6349ebebc2c417a98e7348457e22c1e283.tar.xz
cpuspeed detection for X86 TSC capable CPUs (also added TSC detection, should best be verified by some people with TSC/nonTSC capable CPUs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10886 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.h')
-rw-r--r--cpudetect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpudetect.h b/cpudetect.h
index c68013ba78..c178eb7b39 100644
--- a/cpudetect.h
+++ b/cpudetect.h
@@ -18,6 +18,7 @@ typedef struct cpucaps_s {
int isX86;
unsigned cl_size; /* size of cache line */
int hasAltiVec;
+ int hasTSC;
} CpuCaps;
extern CpuCaps gCpuCaps;