Article View: comp.os.msdos.programmer
Article #3717Re: How can I determine the clock frequency on an 80xxx machine??
From: aki
Date: Fri, 09 Oct 1992 09:27
Date: Fri, 09 Oct 1992 09:27
22 lines
1451 bytes
1451 bytes
> > Because of variations in board design, caching, memory archecture, > non-Intel chip vendors and other things it is not possible to determine > the CPU clock frequency via instruction timming with any degree of > accuracy. The only alternative is to put a timer in of your own > specification. I beg to differ from you on this point. I have designed a MHz counting function that (so far) has returned correct or close-to correct results on all PC's it has been run on. The largest error margin was on a 4.77 MHz XT that clocked as 3.5 MHz. Usually the function is right on the money. What _IS_ impossible is to take into account and adjust for all the billions of possible combinations of cache/chipset/CPU to arrive at the exact correct number all the time. Aki. -- / Phone: 408-662 9664 Fax: 662 9676 | "Aki" pronounced: Ah-Key. I know \ \ 125 Searidge Ct #D, Aptos, CA 95003 | what I'm doing most of the time. /
Technical Details
Message-ID:
<4422@cruzio.santa-cruz.ca.us>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!cruzio!akiReferences:
<menglund.1.717860568@unpcs1.cs.unp.ac.za> <1992Oct8.210438.19205@novell.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!cruzio!aki From: aki@cruzio.santa-cruz.ca.us Newsgroups: comp.os.msdos.programmer Subject: Re: How can I determine the clock frequency on an 80xxx machine?? Message-ID: <4422@cruzio.santa-cruz.ca.us> Date: Fri, 09 Oct 92 02:27:54 PDT References: <menglund.1.717860568@unpcs1.cs.unp.ac.za> <1992Oct8.210438.19205@novell.com> Sender: news@cruzio.santa-cruz.ca.us Reply-To: aki@cruzio.santa-cruz.ca.us Lines: 22