Jimmy Situ
2018-07-28 08:28:47 UTC
Hi, All
I just want to switch my CPU model to O3 detail after I boot up my ubuntu and before I call the benchmark.
and I found one of ways making this is
/sbin/m5 switchcpu; mybechmark_run
Then I can switch cpu with this
if exit_event.getCause() == "switchcpu":
system.switchCpus(system.cpu, system.O3Cpu)
But I found it is not work in m5, the switchcpu is no longer in m5 now?
Is there any particular reason m5 do not support this op any more? Or there is a better way doing switch cpu?
Thanks.
------------------
Jimmy Situ
I just want to switch my CPU model to O3 detail after I boot up my ubuntu and before I call the benchmark.
and I found one of ways making this is
/sbin/m5 switchcpu; mybechmark_run
Then I can switch cpu with this
if exit_event.getCause() == "switchcpu":
system.switchCpus(system.cpu, system.O3Cpu)
But I found it is not work in m5, the switchcpu is no longer in m5 now?
Is there any particular reason m5 do not support this op any more? Or there is a better way doing switch cpu?
Thanks.
------------------
Jimmy Situ