summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unittest/stattestmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest/stattestmain.py b/src/unittest/stattestmain.py
index 70fef59be..60b041cd3 100644
--- a/src/unittest/stattestmain.py
+++ b/src/unittest/stattestmain.py
@@ -6,7 +6,7 @@ def main():
# Initialize the global statistics
m5.stats.initSimStats()
- m5.stats.initText("cout")
+ m5.stats.addStatVisitor("cout")
# We're done registering statistics. Enable the stats package now.
m5.stats.enable()