projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2eea1
)
eventq: make python events actually work
author
Nathan Binkert
<nate@binkert.org>
Tue, 14 Oct 2008 16:34:11 +0000
(09:34 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Tue, 14 Oct 2008 16:34:11 +0000
(09:34 -0700)
src/python/m5/event.py
patch
|
blob
|
history
diff --git
a/src/python/m5/event.py
b/src/python/m5/event.py
index 5d50448e75f91f3ab38a11026c8aab1bae02aeeb..2b43e578ec04329110b338e511d4c0721b0283c8 100644
(file)
--- a/
src/python/m5/event.py
+++ b/
src/python/m5/event.py
@@
-26,6
+26,7
@@
#
# Authors: Nathan Binkert
+import m5
import internal.event
from internal.event import PythonEvent, SimLoopExitEvent as SimExit
@@
-41,7
+42,7
@@
class Event(PythonEvent):
def __init__(self, priority=None):
if priority is None:
priority = internal.event.Event.Default_Pri
- super(
Python
Event, self).__init__(self, priority)
+ super(Event, self).__init__(self, priority)
class ProgressEvent(Event):
def __init__(self, eventq, period):