Hi Yara,
I'm not very familiar with the power modeling in gem5, but this seems like
you found and then fixed a bug! We would really appreciate it if you
contributed this change to the mainline. You can find a description of how
to do this in the CONTRIBUTING document (
https://gem5.googlesource.co
I think I found a solution to this problem. It required changing something
in the src file gem5/src/sim/power/mathexpr_powermodel.cc.
In the startup function the stats are being recorded from the statsList to
the stats_map which will be used by the power model to find the
corresponding value to ea