Delphi-PRAXiS
Seite 3 von 5     123 45      

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)

soulies 5. Jun 2008 06:14

Re: CPUID Intel&AMD
 
Zitat:

However how to read voltage?
WMI :
SQL-Code:
Select CurrentVoltage from Win32_Processor
Return: CPU_ID & Voltage


cya

hathor 5. Jun 2008 07:00

Re: CPUID Intel&AMD
 
Zitat:

Zitat von soulies
Zitat:

However how to read voltage?
WMI :
SQL-Code:
Select CurrentVoltage from Win32_Processor
Return: CPU_ID & Voltage


cya

Du solltest nicht irgendwelchen Schwachsinn veröffentlichen, was Du nicht selbst getestet hast!

Versuche selbst mal, mit diesem Code CurrentVoltage herauszufinden und veröffentliche das Ergebnis.

soulies 5. Jun 2008 07:45

Re: CPUID Intel&AMD
 
Zitat:

Du solltest nicht irgendwelchen Schwachsinn veröffentlichen
mag sein das ich die frage nicht verstanden habe ...

bei mir liefert :
SQL-Code:
Select CurrentVoltage from Win32_Processor
CurrentVoltage : 14
CPU_ID : CPU0

und mit
Zitat:

Description("The CurrentVoltage specifies the voltage of the processor.
Bits 0-6 of the field contain the processor's current voltage times 10.
This value is only set when SMBIOS designates a voltage value.
hätte ich gedacht: 14 / 10 = 1.4 Volts


aber wahrscheinlich hast du recht

hathor 5. Jun 2008 08:32

Re: CPUID Intel&AMD
 
@soulies:

Danke für Deine Antwort - bei mir zeigt es 33 an: das wären 3,3 Volt. Real wird er mit 0,95 V gefüttert.
Viele WMI-Werte werden nicht oder falsch angezeigt. Da sollte Microsoft endlich mal nachbessern, statt zu meinen, die Welt mit blödsinnigen BS beglücken zu müssen!

Razor 5. Jun 2008 13:03

Re: CPUID Intel&AMD
 
Yea i almost did it and its NOT FROM THE SMBUS,its reading directly off cpu via READMSR.

Muetze1 5. Jun 2008 13:44

Re: CPUID Intel&AMD
 
Zitat:

Zitat von Razor
Yea i almost did it and its NOT FROM THE SMBUS,its reading directly off cpu via READMSR.

Nobody said to read something from the SMBus. Please ask, if you do not understand what is written here. They use the WMI interface to gather the named information and WMI gets this information from the SMBIOS (and not SMBus!).

And the SMBIOS get's it from the CPU or the chipset/voltage controller directly. But this is another aspect. They offered just an alternative to gather that informationen (even without using such a ring-0 driver) using WMI.

Razor 5. Jun 2008 13:49

Re: CPUID Intel&AMD
 
if it works we dont know...using VID tables from intel datasheet could also work

Razor 6. Jun 2008 14:15

Re: CPUID Intel&AMD
 
But how to get the VID have you tried Muetze?

Muetze1 6. Jun 2008 14:18

Re: CPUID Intel&AMD
 
Zitat:

Zitat von Razor
But how to get the VID have you tried Muetze?

I am never interested in the VID so I never tried, but it is not complex to get it...

Razor 6. Jun 2008 14:22

Re: CPUID Intel&AMD
 
Wich MSR is it.I'll do everything else.I need to calculate Power for Intel Core Cpus.Nobody has done this..

P=C*V^2 *f

P=power
C=capitance
V=voltage
f=frequency


Msr > IA32_PERF_STATUS > $198H

eax > 0x0600061B

The voltage ID is hidding here 1B.But i need a table to recognize wich voltage is it.


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:45 Uhr.
Seite 3 von 5     123 45      

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