For fs.py, use m5 checkpoint + gem5.opt fs.py -r 1, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/39762d2f158789a399a2ef962703c43a5339f308#gem5-run-benchmark

I don't konw what switchcpu is meant to do.

On Sat, Jul 28, 2018 at 9:28 AM, Jimmy Situ <[email protected]> wrote:

> 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
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to