I was thinking about how effective it would be to calculate the number of CPU instructions a section of code would have and then trying to estimate the energy cost for a program.
But I was curious if there were more elegant ways of going about this?
I was thinking about how effective it would be to calculate the number of CPU instructions a section of code would have and then trying to estimate the energy cost for a program.
But I was curious if there were more elegant ways of going about this?