I would like to create a system wide std::vector<BaseCPU*> to be able to
perform operations on all CPUs at once. I was wondering where system.cpu
gets stored, because in System.py there is no "cpu" parameter defined, and
if I try to initialize it to capture the CPUs creating in se.py or fs.py, I
get a cycle in the creation of all objects and the simulator will not run.
I have the same question with system.cpu.l1cache. Where exactly are these
objects which are not defined in their respective "owner's" python script
(Cache.py in this case)?

My main issue is with the System class I can use the ThreadContexts to get
all CPUs that actually have a thread running on them, but I want to do
something to all CPUs, whether or not they are currently running a thread.
Any help would be greatly appreciated.

Thank you all very much.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to