Is it possible/easy to determine how much power a program is using?
问题 Is it possible to determine or even reasonably estimate how much power a program is using? The idea being to profile my code in terms of power consumption instead of just typical performance. Is it enough to measure CPU use, GPU use and memory access? 回答1: There are many aspects that can influence the power consumption of an application, and these will vary a lot depending on the used hardware. The easiest way to get an idea is to measure it. If your program is doing heavy calculations, it is