Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: CPU clock speed determination? - complete this time...

Author: martin fierz

Date: 13:58:49 01/14/04

Go up one level in this thread


darn, hit tab and return :-)

again:
i'm looking for a way to determine the clock speed of a CPU with MSVC. i found
some stuff on CPUID on the net; some _asm routines which return strings like
"AuthenticAMD" or "GenuineIntel", and processor model numbers, stepping numbers
etc. but that's not what i'm really looking for. i dream of the following
function:

int cpuid(char *s)

which i could call from my C program and which would return something like this:

Intel Pentium III at 866MHz

or

AMD Athlon at 1400MHz

etc.

it looks like arena for instance can do this. did anybody ever write such a
C-callable function and is willing to share it?

cheers
  martin



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.