<div dir="ltr">Did you have a look at powertop? It&#39;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">&lt;<a href="mailto:marks@cs.technion.ac.il">marks@cs.technion.ac.il</a>&gt;</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&#39;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&#39;m trying to use lm_sensors, which actually mention the support of  this kind of info, but I can&#39;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 &quot;reading CPU current  register &quot;  brings up tons of info with &quot;current&quot; 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>