>> I've long thought that it would be nice if we could have multi step
>> init/startup.  The basic way to do it is to have init() return a bool.
>>  If it's true, then that object should have init called again in a
>> second round.  (Same goes for startup()).  The only question is if we
>> want to have init and startup take an unsigned parameter that
>> indicates which round is active.  I'd think that we'd want to since
>> we'd otherwise have to keep track of it ourselves in every object.
>> I'm even willing to do most of the work since it will give me an
>> excuse to move the init and startup iteration code into python.
>
> Is there a big benefit to moving that code into python?
Not huge.  I'd like to get the official list of instantiated
SimObjects into python so that all of the "for each SimObject" call
happens in python, just to reduce the amount of code written in C++
and hopefully clear up some of the way certain things work by having
more of the code in one place.

  Nate
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to