Hi Sindhuja,
Are you using your own python script to configure the simulation?
If I'm not mistaken calling the /sbin/m5 checkpoint exits the m5.simulate()
(from the script), returning the exit_event (a string "checkpoint").
Then, your python script should capture that exit_event and create the
checkpoint. This is done in the default scripts (e.g., fs.py/Simulation.py)
with something like this:
exit_event = m5.simulate()
exit_cause = exit_event.getCause()
while exit_event == "checkpoint":
m5.checkpoint(joinpath(cptdir, "cpt.%d"))
exit_event = m5.simulate()
exit_cause = exit_event.getCause()
But if you have your own python script, then you have to implement this
behavior yourself.
Best,
Pedro.
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s