gem5/sim
Nathan Binkert 9471a4d20f Fix stats reset
make SIGUSR2 dump and reset stats
Make resetting time work

base/statistics.cc:
    Fix statistics reset so that it works again, and correctly
    reset bins as well.  (The old code wouldn't reset if you didn't
    have any bins, and then would actually only reset the first
    bin)
cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
    convert idleCycles/idleFraction into a single Average stat
    to make reset work more simply
sim/main.cc:
    handle SIGUSR2 to dump and reset stats
    (SIGUSR1 only dumps them)
sim/sim_time.cc:
sim/sim_time.hh:
    Add support for resetting the time

--HG--
extra : convert_revision : ea43e03c50c0a4bb826dc0842a8c4fa1a9289e0a
2003-11-05 17:57:41 -05:00
..
async.hh Import changeset 2003-10-07 10:41:54 -04:00
builder.cc Separate the stuff for SimObject from SimObject builder. 2003-10-20 20:17:01 -04:00
builder.hh Separate the stuff for SimObject from SimObject builder. 2003-10-20 20:17:01 -04:00
debug.cc Implement more m5 pseduo opcodes: 2003-11-02 18:02:58 -05:00
debug.hh Import changeset 2003-10-07 10:41:54 -04:00
eventq.cc Implement more m5 pseduo opcodes: 2003-11-02 18:02:58 -05:00
eventq.hh eventq.cc, eventq.hh: 2003-10-31 22:09:18 -05:00
host.hh Import changeset 2003-10-07 10:41:54 -04:00
main.cc Fix stats reset 2003-11-05 17:57:41 -05:00
param.cc Support for Serializable non-SimObject things like events. 2003-10-29 21:45:39 -08:00
param.hh Get rid of lots of obsolete mentions of stat_sdb_t. 2003-10-29 22:22:03 -08:00
prog.cc Make FullCPU schedule its TickEvent when one of its contexts becomes active. 2003-10-24 23:02:36 -07:00
prog.hh Initial support for CPU switching. New SamplingCPU object encompasses a set 2003-10-23 19:07:52 -07:00
serialize.cc Print a warning rather than failing if we're unserializing and there's an 2003-11-02 21:49:15 -08:00
serialize.hh Print a warning rather than failing if we're unserializing and there's an 2003-11-02 21:49:15 -08:00
sim_events.cc Move the m5 pseudo instructions into their own file 2003-11-02 20:43:39 -05:00
sim_events.hh Move the m5 pseudo instructions into their own file 2003-11-02 20:43:39 -05:00
sim_exit.hh Move the m5 pseudo instructions into their own file 2003-11-02 20:43:39 -05:00
sim_object.cc Changed the naming of Serializeable derived objects. Serializeable no longer has 2003-10-31 17:32:04 -05:00
sim_object.hh Changed the naming of Serializeable derived objects. Serializeable no longer has 2003-10-31 17:32:04 -05:00
sim_time.cc Fix stats reset 2003-11-05 17:57:41 -05:00
sim_time.hh Fix stats reset 2003-11-05 17:57:41 -05:00
system.cc Add the ability to track stats in user defined sets of function calls. code can be generated via the base/instrum_codegen.pl script to easily change the functions being tracked. the only thing the user needs to do is add code in tru64System to change how the callerMap is populated. 2003-11-04 15:15:12 -05:00
system.hh Add the ability to track stats in user defined sets of function calls. code can be generated via the base/instrum_codegen.pl script to easily change the functions being tracked. the only thing the user needs to do is add code in tru64System to change how the callerMap is populated. 2003-11-04 15:15:12 -05:00
universe.cc Implement more m5 pseduo opcodes: 2003-11-02 18:02:58 -05:00