[Bug 105712] intel-gpu-overlay is showing insane power consumption amounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 6 on bug 105712 from
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


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux