Review Board 2.0.15


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.

   
Ship it!
Posted (Feb. 11, 2011, 11:39 a.m.)
Looks reasonable to me.  Fix commit message.
src/arch/arm/isa.cc (Diff revision 1)
 
 
how about info()
Posted (Feb. 11, 2011, 3:05 p.m.)



  
src/arch/arm/isa.cc (Diff revision 1)
 
 
Maybe put this in the header file?