Delphi-PRAXiS
Seite 1 von 5  1 23     Letzte »    

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi CPUID Intel&AMD (https://www.delphipraxis.net/114801-cpuid-intel-amd.html)

Razor 31. Mai 2008 19:39


CPUID Intel&AMD
 
So in order to detect type of cpus ive came to a point that i have to do get the next things done until i can do so..

-Stepping
-Model
-Vendor name
-Multiplier <done
-Cpuid
-Bus
-Stock Speed
-Cache(l1,l2,l3)
-Codename

So after i have all of this ill just check for everything and then with this detect an intel qx9650 for example


And ofcourse ive searched forum and found nothing usefull for the things above...Except Muetze's cache unit wich does nothing for my quad q6600 since i have 8 mb of L2.

Can direct me in the right way,so i dont do something stupid again.And give me some tips on how to do it.

soulies 31. Mai 2008 22:06

Re: CPUID Intel&AMD
 
hoi,

my idea - use the unit 'jclsysinfo' with the function 'CPUID' ;

CPUID itself is a structure of TCPUInfo which contains mostly
all the parameters you asked for.

cya

Muetze1 31. Mai 2008 22:57

Re: CPUID Intel&AMD
 
Zitat:

Zitat von Razor
Except Muetze's cache unit wich does nothing for my quad q6600 since i have 8 mb of L2.

It's not actual, because intel extended the cache line tag fields later on, after the unit was build.

Here in this forum is another unit by me for detecting cpu type, vendor, model, family and revision/stepping, etc. This unit has also to be updated to the new values to be usable on the new dual/quadcores.

But before you ask: I have all that units and even a bigger one in the actual form here, but it is closed source, so nothing I can give you...

Razor 1. Jun 2008 08:11

Re: CPUID Intel&AMD
 
I even made the function to read BUS Speed and multiplier of the Intel Core. :P

However since i have a quad core and it uses speedstep it changes its frequency.From 1600 Mhz to 2400 Mhz.
Multi 6>9.How to get the cpu speed that is changing..

And muetze i woulndt ask anyways since wouldnt give me nothing.Ive pretty much figured everything by myself.. :zwinker:
And you dont need it anyways otherwise you would be programing a tool just like mee.

Muetze1 1. Jun 2008 12:15

Re: CPUID Intel&AMD
 
Zitat:

Zitat von Razor
And muetze i woulndt ask anyways since wouldnt give me nothing.

That's right, because you still copy your sources.

Zitat:

Zitat von Razor
Ive pretty much figured everything by myself.. :zwinker:

Now you read the documentation before trying, yes - a big step, but transforming it into code is still not a process in acquiring knowledge and use it, it is try & error. You still missing the basics and you still do not know some general things about programming.

/EDIT: update your delphi version in your profile...

Razor 1. Jun 2008 12:18

Re: CPUID Intel&AMD
 
Zitat:

However since i have a quad core and it uses speedstep it changes its frequency.From 1600 Mhz to 2400 Mhz.
Multi 6>9.How to get the cpu speed that is changing..
I've tried almost everything and code still shows my max speed =2400 while its actually 1600.Ahh!

//Sure

Edit2/ I can calculate the next things now> Rated FSB,Bus speed,voltage,multiplier,Wats,Current.
+A friend said i have to readmsr the address 0x19.

Muetze1 1. Jun 2008 12:31

Re: CPUID Intel&AMD
 
Zitat:

Zitat von Razor
+A friend said i have to readmsr the address 0x19.

It is not an address, it is a register number...

Razor 1. Jun 2008 12:32

Re: CPUID Intel&AMD
 
But wich register it is i have no idea.Googled and nothing($19).

Muetze1 1. Jun 2008 12:33

Re: CPUID Intel&AMD
 
Zitat:

Zitat von Razor
But wich register it is i have no idea.Googled and nothing($19).

Intel documents the whole thing in detail. You've got the documentation, I know, since you looked in it as we chatted.

Intel 64 and IA-32 Architectures Software Developer's Manual
Volume 3B: System Programming Guide (Part 2)

Razor 1. Jun 2008 12:34

Re: CPUID Intel&AMD
 
Ill look but i cant guarantee nothing.. :)


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:25 Uhr.
Seite 1 von 5  1 23     Letzte »    

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz