So you are saying the base class "SimObject" drain is getting called for
cpu1 but the derived drain() is not being called?

How can that be? I'm not sure how the python handles the SimObjects but that
is awkward (is there some alternate registration necessary?).

Maybe someone else with better knowledge of the python can chime in?

On Thu, Mar 10, 2011 at 1:33 PM, Anthony Gutierrez <[email protected]>wrote:

> The reason it seems that the instruction is not being removed is because
> cpu1's drain function is never being called. cpu0 drains and returns, then
> switchout is being called immediately. I put debug printfs in the SimObject
> drain function and those seem to be getting called for every SimObject in
> the system. However, the cpu specific drain function is only being called
> for cpu0 according to the debug printfs I put there. I also can't see where
> the cpu version of drain() is being called. Is cpu1 being treated
> differently than cpu1 in the system?
>
>
> -Tony
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>



-- 
- Korey
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to