Hi All:
Recently I wrote a new component in Garnet, which wakes itself up when
initialized. After that, it re-shedules periodically.
Below is the code for this purpose:
MyComponent::MyComponent(){
...
scheduleEventAbsolute(m_net_ptr->clockEdge(Cycles(1)));
...
}
MyComponents::wakeup(){
...
scheduleEvent(Cycles(A_PERIOD));
...
}
The code works fine when I start a full system simulation afresh. However,
when I restore from a checkpoint, MyComponent never wakes up.
I guess the problem is in the event queue. It seems the wake up event of
MyComponent is not registered successfully. But I am not sure about this...
Based on this observation, my question is:
- How to wake up your own component after restoring from a checkpoint?
Best Regards
==================================
Yuan Yao (Mr.)
PhD Candidate in Electronic and Computer Systems
School of ICT
KTH Royal Institute of Technology
[email protected]<mailto:[email protected]>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users