delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/24/05:55:54

Message-ID: <5BF60CD649EDD411A04600B0D049F53AFFA932@hydmail02.hyd.wilco-int.com>
From: Prashant Ramachandra <rprash AT wilco-int DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: Cpu speed detection using DJGPP?
Date: Tue, 24 Jul 2001 15:19:14 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

On Tuesday, July 24, 2001 2:57 AM, kallekula60 AT hotmail DOT com
[SMTP:kallekula60 AT hotmail DOT com] wrote:
| How do I go about doing this?

No easy way for all CPUs. But with Pentum+ (which support TSC), you can
check values of TSC for a set of repetitive instructions. If you calibrate
that for one system, it should work for the rest.

For other systems, it's best write them in 16-bit C/ASM.

--
Prashant TR <tr AT midpec DOT com>  Web: http://www.midpec.com/

"Those who do not understand Unix are condemned to reinvent it, poorly."
     -- Henry Spencer

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019