diff options
author | Clint Smullen <cws3k@cs.virginia.edu> | 2008-10-27 19:46:01 -0400 |
---|---|---|
committer | Clint Smullen <cws3k@cs.virginia.edu> | 2008-10-27 19:46:01 -0400 |
commit | cfa32d8de737847f04bfa6e5e89375c870c3869b (patch) | |
tree | 43cbdeb073b8b256d9e2a6c201ec07747528d7ba /src/python | |
parent | aadae0b06e8a3ff1dc39c7d2dbacd488488428fc (diff) | |
download | gem5-cfa32d8de737847f04bfa6e5e89375c870c3869b.tar.xz |
Checkpointing: createCountedDrain function, it was only returning an Event, which does not expose a setCount method to Python.
Signed-off By: Ali Saidi
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/swig/pyevent.cc | 2 | ||||
-rw-r--r-- | src/python/swig/pyevent.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/python/swig/pyevent.cc b/src/python/swig/pyevent.cc index bf993bc3e..a201e0185 100644 --- a/src/python/swig/pyevent.cc +++ b/src/python/swig/pyevent.cc @@ -67,7 +67,7 @@ PythonEvent::process() } } -Event * +CountedDrainEvent * createCountedDrain() { return new CountedDrainEvent(); diff --git a/src/python/swig/pyevent.hh b/src/python/swig/pyevent.hh index c6d6ac993..22b562de1 100644 --- a/src/python/swig/pyevent.hh +++ b/src/python/swig/pyevent.hh @@ -46,7 +46,7 @@ class PythonEvent : public Event virtual void process(); }; -Event *createCountedDrain(); +CountedDrainEvent *createCountedDrain(); void cleanupCountedDrain(Event *counted_drain); #endif // __PYTHON_SWIG_PYEVENT_HH__ |