stats: Provide a mechanism to get a callback when stats are dumped.
authorMitchell Hayenga <Mitchell.Hayenga@ARM.com>
Tue, 5 Jun 2012 05:23:08 +0000 (01:23 -0400)
committerMitchell Hayenga <Mitchell.Hayenga@ARM.com>
Tue, 5 Jun 2012 05:23:08 +0000 (01:23 -0400)
commit8294d49bb6f787bbe5b05a4a5c52d1d26a2289af
treec3bca35253d157c9187167ddbdeed93a8dad70f2
parent0b0c5621eea48a79d1d17e494fa99ea34ad8fad0
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/base/statistics.cc
src/base/statistics.hh
src/python/m5/stats/__init__.py
src/python/swig/stats.i