Message-ID: <5BF60CD649EDD411A04600B0D049F53AFFA932@hydmail02.hyd.wilco-int.com> From: Prashant Ramachandra To: "'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) Content-Type: text/plain 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 Web: http://www.midpec.com/ "Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer