<div dir="ltr">Did you have a look at powertop? It's code might have relevant ideas.<br><br><div class="gmail_quote">On Mon, Dec 28, 2009 at 9:15 AM, Mark Silberstein <span dir="ltr"><<a href="mailto:marks@cs.technion.ac.il">marks@cs.technion.ac.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Friends, <br><br>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.<br>
<br>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. ... <br><br>Any idea ?<br>
<br>Mark<br><br></div>
<br>_______________________________________________<br>
Haifux mailing list<br>
<a href="mailto:Haifux@haifux.org">Haifux@haifux.org</a><br>
<a href="http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux" target="_blank">http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux</a><br>
<br></blockquote></div><br></div>