cpu temperature
-
Getting the current cpu temperature is proving very very difficult. Ive looked into WMI which although there is a WIN32_temperatureProbe [CurrentReading] this is not currently availble (future production) or is very limited to certain boards. So Ive hunted around and come across that I can get the information via Ring0 access! Great! errrh.......what do I do? So I havent found any info on how to actually program this (apart from c# wont work with it). I really just want a assembly object that my c# can call 1.amount of cpu(and cores) 2. cpu temp? has anyone or does aanyone got the know how on how to do this? being a c# and vb programmer my knoweldge is limited.
-
Getting the current cpu temperature is proving very very difficult. Ive looked into WMI which although there is a WIN32_temperatureProbe [CurrentReading] this is not currently availble (future production) or is very limited to certain boards. So Ive hunted around and come across that I can get the information via Ring0 access! Great! errrh.......what do I do? So I havent found any info on how to actually program this (apart from c# wont work with it). I really just want a assembly object that my c# can call 1.amount of cpu(and cores) 2. cpu temp? has anyone or does aanyone got the know how on how to do this? being a c# and vb programmer my knoweldge is limited.
ziwez0 wrote:
I can get the information via Ring0 access
ring0 basically means kernel level in windows world, which is to be expected if you want to query hardware properties and state. you have found the way to interact with kernel through
ziwez0 wrote:
WIN32_temperatureProbe
. You can't improve much on this, and not at all in managed code. CPU usage is another thing, which u can access through managed code(c#). Try looking into System.Diagnostics namespace especially PerformanceCounter class and related.
there are no facts, only interpretations
-
ziwez0 wrote:
I can get the information via Ring0 access
ring0 basically means kernel level in windows world, which is to be expected if you want to query hardware properties and state. you have found the way to interact with kernel through
ziwez0 wrote:
WIN32_temperatureProbe
. You can't improve much on this, and not at all in managed code. CPU usage is another thing, which u can access through managed code(c#). Try looking into System.Diagnostics namespace especially PerformanceCounter class and related.
there are no facts, only interpretations