sim: reset stats after startup
Review Request #2005 - Created Sept. 9, 2013 and submitted
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9868:112a9778300a --------------------------- sim: reset stats after startup Currently statistics are reset after the initial / checkpoint state has been loaded. But ruby does some checkpoint processing in its startup() function. So the stats need to be reset after the startup() function has been called. This patch moves the class to stats.reset() to achieve this change in functionality.
Posted (Sept. 18, 2013, 11:39 a.m.)
Any comments? I am planning to commit it on Friday.
Posted (Nov. 14, 2013, 9:34 p.m.)
Seems like it would be simpler just to move the stats.reset() call inside the 'if need_startup:' block, right?
