ARM: Reset m5 stats when program resets performance counters.
Review Request #475 - Created Feb. 11, 2011 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
Adds method to reset all simulator stats from simulated code using a misc reg. The ARM performance counters are not currently supported by the model. This patch interprets a 'reset performance counters' command to mean 'reset the simulator statistics' instead.
Posted (Feb. 11, 2011, 3:05 p.m.)
-
src/arch/arm/isa.cc (Diff revision 1) -
Maybe put this in the header file?
