flat assembler
Message board for the users of flat assembler.

Index > Windows > CPU temperature?

Author
Thread Post new topic Reply to topic
Artlav



Joined: 23 Dec 2004
Posts: 188
Location: Moscow, Russia
Artlav 20 Oct 2008, 16:15
The question is quite straight-forward - how can i read CPU temperature under Windows?

Straight-forward it is, yet all the google gives is a long list of articles on T maintaining and reading programs.

Basically, is there some common way to get CPU temperature on x86 hardware? Specifically, under 32bit Windows XP/Vista? Some sort of system call will do too.
Post 20 Oct 2008, 16:15
View user's profile Send private message Visit poster's website Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista 20 Oct 2008, 16:27
I can think of two methods. First, you motherboard likely came with some utilities that allow you to monitor CPU temps, MB temps, fan speeds, etc.

Second, you can view that information in BIOS (hit F2, Del, Esc, etc. - MB specific - to get to "set-up").
Post 20 Oct 2008, 16:27
View user's profile Send private message Visit poster's website Reply with quote
Artlav



Joined: 23 Dec 2004
Posts: 188
Location: Moscow, Russia
Artlav 20 Oct 2008, 16:42
Okay, more precisely:
How can i make a program, that will find out CPU temperature, under Win XP/Vista?
Post 20 Oct 2008, 16:42
View user's profile Send private message Visit poster's website Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan 20 Oct 2008, 16:48
google for MSR (Model Specific Registers) DTS (Digital Termal Sensor) & Temperature.
Post 20 Oct 2008, 16:48
View user's profile Send private message Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista 21 Oct 2008, 02:23
Oh, sorry Artlav. I should have read your post more carefully.

You can try Win32_TemperatureProbe Class.

While you can use the IA32_THERM_STATUS MSR, you'll have to know in advance the specific processor TCC activation temperature because the digital reading from the sensor using this MSR is a value relative to the processor's TCC activation temperature. I think that would be a pain in the ass making it a generic program that is processor independent. The processor's TCC activation temperature is found in the processor's specification data sheet.
Post 21 Oct 2008, 02:23
View user's profile Send private message Visit poster's website Reply with quote
zir_blazer



Joined: 05 Dec 2006
Posts: 66
zir_blazer 21 Oct 2008, 03:08
As far that I know it depends on how you're intending on reading it and where from. You could read it from an integrated sensor on the Motherboard (Usually innacuratte), or maybe from a diode in the Processor itself (Like CoreTemp does for AMD K8 based Processors for example). Either way should requiere specific knowledge on either a Motherboard or Chipset series or the Processor, so there shouldn't be an universal way to read it with the exeption that maybe there is a generic or standarized BIOS call, but you wouldn't be reading it from the sensors directly.
Post 21 Oct 2008, 03:08
View user's profile Send private message MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.