[Haifux] reading electric current registers on CPU

Maxim Kovgan kovganm at gmail.com
Mon Dec 28 13:47:19 MSK 2009


is analyzing:
/proc/acpi/CPU0/power
/proc/acpi/CPU1/power
...
/proc/acpi/CPU${N}/power

good for you ?


On Mon, Dec 28, 2009 at 9:15 AM, Mark Silberstein
<marks at cs.technion.ac.il>wrote:

> Friends,
>
> I'm trying to find the way for the user-level program to read the electric
> current sensor of a CPU to compute its  power consumption (given vCore it
> should be easy). I'm trying to use lm_sensors, which actually mention the
> support of  this kind of info, but I can't seem to have the kernel module
> which exposes it to lm_sensors and does the trick.
>
> Googling is not that useful for the query "reading CPU current  register "
> brings up tons of info with "current" in the sense of momentarily, rather
> than electric current. ...
>
> Any idea ?
>
> Mark
>
>
> _______________________________________________
> Haifux mailing list
> Haifux at haifux.org
> http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
>
>


-- 
Maxim Kovgan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://haifux.org/pipermail/haifux/attachments/20091228/4af2b802/attachment.html 


More information about the Haifux mailing list