stattestmain.py revision 12300:32bc912e44df
1def main(): 2 from _m5.stattest import stattest_init, stattest_run 3 import m5.stats 4 5 stattest_init() 6 7 # Initialize the global statistics 8 m5.stats.initSimStats() 9 m5.stats.addStatVisitor("cout") 10 11 # We're done registering statistics. Enable the stats package now. 12 m5.stats.enable() 13 14 # Reset to put the stats in a consistent state. 15 m5.stats.reset() 16 17 stattest_run() 18 19 m5.stats.dump() 20