Expose the C++ event queue to python via the python function

m5.internal.event.create().  It takes a python object and a
Tick and calls process() when the Tick occurs.

--HG--
extra : convert_revision : 5e4c9728982b206163ff51e6850a1497d85ad7a3
This commit is contained in:
Nathan Binkert
2006-12-21 22:38:50 -08:00
parent ba191d85c2
commit ecd1420341
5 changed files with 171 additions and 0 deletions

View File

@@ -131,6 +131,8 @@ base_sources = Split('''
python/swig/init.cc
python/swig/debug_wrap.cc
python/swig/main_wrap.cc
python/swig/event_wrap.cc
python/swig/pyevent.cc
sim/builder.cc
sim/debug.cc