On Thu, 24 Feb 2011 16:34:06 -0500, <atgut...@umich.edu> wrote:
Okay, I see. If I setup up these extra cores in the config script and add them to the system is it enough to set defer_registration to 1 to ensure they will not run? In this case I'm assuming my idea of scheduling an event in the C++ that switches out and takes over from would work and I could
switch back and forth between the two different cpu types any time I
wanted?

Not quite. I'm not sure if you can only do it is C++. I imagine you're going to have to re implement some of the drain functionality that exists in python. My are you so opposed to dropping back into python from the simulation and switching? That is what switchcpus() does (it just exists from python). You'll then need to drain the memory system and switch. You can change back and forth as long as you leave the memory system the same. If you try and switch the memory system any caches with dirty data will be lost. If you want to do that you'll either need to implement some functionality that cleans the caches or create a bunch of checkpoints with an atomic cpu at different points and switch between those.
Ali

_______________________________________________
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to