Hi all,
I added a customized cpu "mycpu" to gem5 and added an option "--myoption" for
it. And then I run a workload on mycpu and checkpointed on tick 10000. The
command line is:
gem5.opt se.py --cpu-type=mycpu --myoption --take-checkpoints=10000 -c workload
And now I want to restore from this checkpoint and "myoption" can also be
specified. I tried:
gem5.opt se.py -r 10000 --myoption -c workload
The error: "Class AtomicSimpleCPU has no parameter myoption" happened. Also I
tried:
gem5.opt se.py -r 10000 --restore-with-cpu mycpu --myoption -c workload
But "myoption" is executed only at recovering process at the beginning, after
recovered from checkpoint, the workload only executed on "mycpu" without
"myoption" specified. Is there any method to make switch-in cpu get option?
Thank you.
Meng
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users