Bugzilla – Bug 2807
GetTotalEnergyConsumption is not updated correctly
Last modified: 2018-02-03 08:31:26 UTC
GetTotalEnergyConsumption is meant to be used at the end of simulation to report the total energy consumption. However, it only reports the energy consumption calculated when the last model update was done. E.g., if a WifiNetdevice has been in given state for a long time and then the simulation stops, the total energy consumption is the one of the last update, neglecting the final period.
Created attachment 2936 [details] patch
pushed in changeset 13272:3b3cfd764081