Mercurial > mplayer.hg
changeset 10955:6d1388df591b
more exact cpu mhz detect for fats cpus (remove rounding)
author | atmos4 |
---|---|
date | Sun, 28 Sep 2003 01:45:54 +0000 |
parents | 27da030f7201 |
children | fdcd0d571912 |
files | cpudetect.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cpudetect.c Sat Sep 27 21:36:01 2003 +0000 +++ b/cpudetect.c Sun Sep 28 01:45:54 2003 +0000 @@ -257,7 +257,7 @@ i += 50; /* for rounding */ snprintf(cpuspeed,15, " %d.%d MHz", i/1000, (i/100)%10); } else { - i += 500; /* for rounding */ + //i += 500; /* for rounding */ snprintf(cpuspeed,15, " %d MHz", i/1000); } } else { /* No TSC Support */