Where in the processor take the time to calculate the electrical energy?

The electrical energy is equal to the product of the current by the voltage and for a time. Where in the processor take the time to calculate the electrical energy?
I ask you to send an example of the program, where the electric energy in the Teridian 71M6541FT processor is calculated.

More questions in this forum