Hi All,

There are a number of similar threads on this list, but I haven't found one that answers my particular question.

What I'd like to do is:
-simulate for x insts
-clear stats
-simulate for y insts with same CPU

--fast-forward is closest to what I'm trying to do, but it switches between CPU models.

I think what I'm looking for is a way to schedule another event similar to max_insts_any_thread so that I can return control to Python, reset stats, and then continue simulating for the total number of instructions. There isn't an obvious way to do this from the Python side of things.

One option would be to use switch_cpus and just switch between two identical CPUs, but this seems a bit clunky.

Does anyone have any ideas?

Thanks,
Erik

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to