summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/stats/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/m5/stats/__init__.py b/src/python/m5/stats/__init__.py
index 9b5af84fb..1d7e3bc5d 100644
--- a/src/python/m5/stats/__init__.py
+++ b/src/python/m5/stats/__init__.py
@@ -82,6 +82,8 @@ def enable():
stats_dict[stat.name] = stat
stat.enable()
+ internal.stats.enable();
+
def prepare():
'''Prepare all stats for data access. This must be done before
dumping and serialization.'''