Originally Posted by

**vick**
I want 1/time/energy which could also be converted to 1/time/(average power) to get performance per Watt.

No. energy is not equal to average power. Power is equal to energy per unit time.

Also, one way of measuring performance is in operations per second. Watts are equal to Joules per second. So we can write:

Code:

Performance per Watt = ( operations / second ) / ( Joule / second ) = operations / Joule

Note that by operations I am talking about a generalized, high-level kind of operation, not a CPU instruction. So the number of operations is the same for a given compilation, independent of the CPU. So we can ignore "operations" in the above formula and only look at the energy usage in Joules. Which is just what tuke81 showed us.

Again, good job tuke81 !