Stats reset, profiling stuff.
authorKevin Lim <ktlim@umich.edu>
Thu, 24 Aug 2006 20:06:45 +0000 (16:06 -0400)
committerKevin Lim <ktlim@umich.edu>
Thu, 24 Aug 2006 20:06:45 +0000 (16:06 -0400)
commit9fef4d46302077775a47b451175fc3bf785338b3
treef8c7ea8a1511822ba72c3f877ab335680b06f732
parent4a2c50bc8ff2dfda53d26c6f347ae5b2839daeb3
Stats reset, profiling stuff.

cpu/base.cc:
    Be sure to deschedule the profile event so it doesn't take profiles while the CPU is switched out.

    Also include the option to reset stats at a specific instruction.
cpu/base.hh:
    Include the option to reset stats at a specific instruction.
cpu/checker/cpu_builder.cc:
    Handle stats reset inst.
cpu/o3/alpha_cpu_builder.cc:
    Handle stats reset inst, allow for profiling.
cpu/ozone/cpu_builder.cc:
    Handle profiling, stats reset event, slightly different parameters.
python/m5/objects/BaseCPU.py:
    Add in stats reset.

--HG--
extra : convert_revision : e27a78f7fb8fd19c53d9f2c1e6edce4a98cbafdb
cpu/base.cc
cpu/base.hh
cpu/checker/cpu_builder.cc
cpu/o3/alpha_cpu_builder.cc
cpu/ozone/cpu_builder.cc
python/m5/objects/BaseCPU.py