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.
The processor doesn't do anything other than what you program it to do.
If you have programmed it to "calculate the electrical energy", then it will do that wherever you programmed it!
http://www.keil.com/forum/63206/