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.
This commit is contained in:
Mitchell Hayenga
2012-06-05 01:23:08 -04:00
parent 0b0c5621ee
commit 8294d49bb6
4 changed files with 23 additions and 0 deletions

View File

@@ -103,6 +103,8 @@ def dump():
return
lastDump = curTick
internal.stats.processDumpQueue()
prepare()
for output in outputList: