Bryan Donyanavard
2018-10-17 03:51:49 UTC
Hi all;
Has anyone had success with the integrated gem5 power and thermal model?
I'm trying to hook up a basic CPU power model in fs mode as is shown in
config/example/arm/fs_power.py:
# Wire up some example power models to the CPUs
Global frequency set at 1000000000000 ticks per second
parameter for the PowerModel is not working correctly -- you can see that
my power_model is a child of system.cpu. The parameters and defaults are
defined in src/sim/power/PowerModel.py.
Any help is greatly appreciated.
Thanks
-Donny
Has anyone had success with the integrated gem5 power and thermal model?
I'm trying to hook up a basic CPU power model in fs mode as is shown in
config/example/arm/fs_power.py:
# Wire up some example power models to the CPUs
continue
cpu.default_p_state = "ON"
cpu.power_model = CpuPowerModel()
However, I get the following error:cpu.default_p_state = "ON"
cpu.power_model = CpuPowerModel()
Global frequency set at 1000000000000 ticks per second
Error in unproxying param 'subsystem' of system.cpu.power_model
File "<string>", line 1, in <module>
File "/home/donny/repos/gem5/gem5-asoc/src/python/m5/main.py", line 435,
in main
exec filecode in scope
File "configs/example/fs_asoc.py", line 486, in <module>
Simulation.run(options, root, test_sys, FutureClass)
File "/home/donny/repos/gem5/gem5-asoc/configs/common/Simulation.py",
line 600, in run
m5.instantiate(checkpoint_dir)
File "/home/donny/repos/gem5/gem5-asoc/src/python/m5/simulate.py", line
92, in instantiate
for obj in root.descendants(): obj.unproxyParams()
File "/home/donny/repos/gem5/gem5-asoc/src/python/m5/SimObject.py", line
1347, in unproxyParams
value = value.unproxy(self)
File "/home/donny/repos/gem5/gem5-asoc/src/python/m5/proxy.py", line
121, in unproxy
(self.path(), self._pdesc.ptype_str, base.path())
AttributeError: Can't resolve proxy 'any' of type 'SubSystem' from
'system.cpu.power_model'
It appears that the default value of "Parent.any" for the "subsystem"File "<string>", line 1, in <module>
File "/home/donny/repos/gem5/gem5-asoc/src/python/m5/main.py", line 435,
in main
exec filecode in scope
File "configs/example/fs_asoc.py", line 486, in <module>
Simulation.run(options, root, test_sys, FutureClass)
File "/home/donny/repos/gem5/gem5-asoc/configs/common/Simulation.py",
line 600, in run
m5.instantiate(checkpoint_dir)
File "/home/donny/repos/gem5/gem5-asoc/src/python/m5/simulate.py", line
92, in instantiate
for obj in root.descendants(): obj.unproxyParams()
File "/home/donny/repos/gem5/gem5-asoc/src/python/m5/SimObject.py", line
1347, in unproxyParams
value = value.unproxy(self)
File "/home/donny/repos/gem5/gem5-asoc/src/python/m5/proxy.py", line
121, in unproxy
(self.path(), self._pdesc.ptype_str, base.path())
AttributeError: Can't resolve proxy 'any' of type 'SubSystem' from
'system.cpu.power_model'
parameter for the PowerModel is not working correctly -- you can see that
my power_model is a child of system.cpu. The parameters and defaults are
defined in src/sim/power/PowerModel.py.
Any help is greatly appreciated.
Thanks
-Donny