Review Board 2.0.15


stats: better expose statistics to python.

Review Request #689 - Created May 9, 2011 and submitted

Information
Nathan Binkert
gem5
Reviewers
Default
ali, gblack, nate, stever
stats: better expose statistics to python.
Build a python list and dict of all stats and expose flags properly.
quick regressions pass (though most recently run with review 690 and 691)
Posted (May 10, 2011, 8:19 a.m.)



  
src/python/m5/stats/__init__.py (Diff revision 1)
 
 
Please add a this file does comment... e.g. This file provides accessors to all the m5 stats or something..
  1. Actually, this file isn't new.  It's the result of a rename.  I'll try to add documentation nearer the end of all of these changes.
src/python/m5/stats/__init__.py (Diff revision 1)
 
 
Is this true given that prepare is commented out?
Posted (May 11, 2011, 1:26 p.m.)



  
src/python/m5/stats/__init__.py (Diff revision 1)
 
 
yeah, yeah.
src/python/m5/stats/__init__.py (Diff revision 1)
 
 
good point.
Posted (May 12, 2011, 4:10 a.m.)



  
src/python/m5/stats/__init__.py (Diff revision 1)
 
 
Actually, this is fixed in the subsequent diff.  This code is already in the tree and was just part of the rename from stats.py to stats/__init__.py
Ship it!
Posted (May 12, 2011, 4:45 a.m.)