Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!philapd!idcapd!robl From: robl@idca.tds.PHILIPS.nl (R. Luursema) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: How do I determine the clock speed? Keywords: Clock Speed Timer Message-ID: <1069@idcapd.idca.tds.philips.nl> Date: 7 Dec 90 09:14:52 GMT References: <1990Dec3.061630.22992@ux1.cso.uiuc.edu> Organization: Philips Information Systems, Apeldoorn, The Netherlands Lines: 32 In article <1990Dec3.061630.22992@ux1.cso.uiuc.edu> dslg0849@uxa.cso.uiuc.edu (Daniel S. Lewart) writes: >Can anyone point me to or provide me with some code (preferably in Pascal) >which will determine the clock speed? > >Thanks in advance, > >Daniel Lewart >d-lewart@uiuc.edu Basically, you can't determine the CPU clockspeed of an arbitrary PC. What you can do is determine CPU type and some relative speed against a known system (like IBM PC/XT), by executing some instruction mix and time execution speed. However this number can tell only little about CPU clock speed; it will give different numbers on similar systems with the same CPU and clock speed. If you want source (TP), look at INFOPLUS, posted in comp.binaries.ibm.pc about a month ago (infop131.zoo). A even more recent version should be available on SIMTEL20 or any mirror archives. Rob. -- #---------------------------------------# ______ # Rob Luursema, BS-HW, V1b2 ext 2246 # /____ / organized # Philips Information Systems Apeldoorn # /____ / like the # Domain: robl@idca.tds.philips.nl # /____ / tower of # UUCP: ..!hp4nl!philapd!robl # /____ / pisa ... #include # /____ / #---------------------------------------# ======== A good workman is known by his tools