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?
-Tony On Thu, 24 Feb 2011 15:24:32 -0600, Ali Saidi <[email protected]> wrote: > On Thu, 24 Feb 2011 15:54:12 -0500, <[email protected]> wrote: >> Is there anyway to do the cpu switching without having to do it >> explicitly >> using the python? i.e. could I have a special cpu that is part of the >> system hierarchy but will only get scheduled to when I explicitly >> call >> switchOut() and takeOverFrom()? I was thinking to have an event that >> gets >> triggered when the migrate conditions are met and essentially does >> this in >> the C++. However, I don't see a way in the config scripts to add a >> core to >> the system without having it being scheduled to. >> > Why not do it in python? You can have an extra set of cores that aren't > being used and are only used when you switch. > > Ali > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
