🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4395

Re: How to find CPU Clock frequency

#4395
From: Lars
Date: Thu, 02 Feb 2006 12:50
31 lines
1878 bytes
Found som information on:

http://groups.google.com/group/microsoft.public.win32.programmer.tools/browse_frm/thread/6bcc1f8b16d76d3a/3990438ae15b150e?q=%22CPU+frequency%22&rnum=1#3990438ae15b150e

One way to doit is to use information from the registry
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor \0

Is this an reliable instance to get CPU Clock Speed , different WIN ver. / 
CPU vendor ......

Regards Lars

"Lars" <lgu@promare.se> skrev i meddelandet 
news:43e1d753@newsgroups.borland.com...
> Hi
>
> How do I find the Clock frequency of the CPU ?
>
> I found the processor typ in function GetSystemInfo(SYSTEM_INFO siSysInfo) 
> but not the frequency.
>
> I found this line in program msinfo32:
> Processor x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2391 Mhz
>
> So the information must be ther somewhere.
>
> Regards
> Lars
>
>
> 
Technical Details
Message-ID: <43e1ff6c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <43e1d753@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e1d4f1cf78bef267
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Lars" <lgu@promare.se>
From: "Lars" <lgu@promare.se>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43e1d753@newsgroups.borland.com>
Subject: Re: How to find CPU Clock frequency
Date: Thu, 2 Feb 2006 13:50:58 +0100
Lines: 33
Organization: ProMare AB
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 217.208.96.27
Message-ID: <43e1ff6c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138884460 217.208.96.27 (2 Feb 2006 04:47:40 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail