From 8294d49bb6f787bbe5b05a4a5c52d1d26a2289af Mon Sep 17 00:00:00 2001 From: Mitchell Hayenga Date: Tue, 5 Jun 2012 01:23:08 -0400 Subject: stats: Provide a mechanism to get a callback when stats are dumped. This mechanism is useful for dumping output that is correlated with stats dumping, but isn't tracked by the gem5 statistics. --- src/python/m5/stats/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/python/m5') diff --git a/src/python/m5/stats/__init__.py b/src/python/m5/stats/__init__.py index 1d7e3bc5d..765f9a634 100644 --- a/src/python/m5/stats/__init__.py +++ b/src/python/m5/stats/__init__.py @@ -103,6 +103,8 @@ def dump(): return lastDump = curTick + internal.stats.processDumpQueue() + prepare() for output in outputList: -- cgit v1.2.3