summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/stats.py2
-rw-r--r--src/python/swig/stats.i3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/python/m5/stats.py b/src/python/m5/stats.py
index 907fad531..24072aeb0 100644
--- a/src/python/m5/stats.py
+++ b/src/python/m5/stats.py
@@ -28,7 +28,7 @@
import internal
-from internal.stats import StatEvent as event
+from internal.stats import schedStatEvent as schedEvent
from objects import Root
def initText(filename, desc=True):
diff --git a/src/python/swig/stats.i b/src/python/swig/stats.i
index eaa4c31c8..67ce72173 100644
--- a/src/python/swig/stats.i
+++ b/src/python/swig/stats.i
@@ -50,7 +50,8 @@ void initMySQL(std::string host, std::string database, std::string user,
std::string passwd, std::string project, std::string name,
std::string sample);
-void StatEvent(bool dump, bool reset, Tick when = curTick, Tick repeat = 0);
+void schedStatEvent(bool dump, bool reset,
+ Tick when = curTick, Tick repeat = 0);
void enable();
void prepare();