Hi everybody, Okay, I think, I'm starting to understand the python code, but I still have a problem with c++ and python integration. I'm not sure about the accuracy of what I'm going to say now, so please correcting me if I'm wrong.
All C++ functions can be used in python, so I found EventManager::schedule()<http://www.gem5.org/docs/html/eventq_8hh_source.html#l00442>in sim/eventq.hh, for more info click here<http://www.gem5.org/docs/html/eventq_8hh_source.html#l00442>. The problem is, I don't know how to call it in python, so please if anyone knows how, I really appreciate it. The reason why I want to use EventManager::schedule()<http://www.gem5.org/docs/html/eventq_8hh_source.html#l00442>because I believe, I can construct a scheduler in python and not in C. What I used to do, scheduling threads in gem5 via m5threads, but now I need to include the bus slots in the scheduler algorithms. So, if anyone has better suggestions in what I'm doing. I'm really looking forward to it, thanks in advance. -- Best Regards, Mohammad Alshamlan ARCS: Advanced Real-time and Computing Systems Lab Department of Electrical and Computer Engineering FIU College of Engineering and Computing 10555 West Flagler St. EC3900 Miami, FL 33174
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
