<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - intel-gpu-overlay is showing insane power consumption amounts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105712#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - intel-gpu-overlay is showing insane power consumption amounts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105712">bug 105712</a>
from <span class="vcard"><a class="email" href="mailto:leozinho29_eu@hotmail.com" title="leozinho29_eu@hotmail.com">leozinho29_eu@hotmail.com</a>
</span></b>
<pre>The lines
fprintf(stderr, "rapl_type_id()=%"PRIx64",
rapl_gpu_power()=%"PRIx64"\n",
rapl_type_id(), rapl_gpu_power());
made the overlay fail to build. I have changed that to (using lx is not
perfect, but PRIx64 made it fail to build):
fprintf(stderr, "rapl_type_id()=%lx\n",rapl_type_id());
fprintf(stderr, "rapl_gpu_power()=%lx\n",rapl_gpu_power());
which should result in the intended output. It was:
rapl_type_id()=d
rapl_gpu_power()=4
rapl_gpu_power_scale()=2,000000</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>