gem5/dev
Nathan Binkert 667cbb6690 Implement more m5 pseduo opcodes:
resetstats
dumpstats
dumpresetstats
m5checkpoint

Lots of cleanup of serialization and stats dumping/resetting to
work with these new instructions

arch/alpha/isa_desc:
    Implement more m5 pseduo opcodes:
    resetstats
    dumpstats
    dumpresetstats
    m5checkpoint

    All of these functions take two optional parameters, the first is a delay,
    and the second is a period.  The delay tells the simulator to wait the
    specified number of nanoseconds before triggering the event, the period
    tells the simulator to repeat the event with a specified frequency
base/statistics.cc:
base/statistics.hh:
    regReset RegResetCallback
dev/disk_image.cc:
    serializeFilename -> CheckpointFile()
sim/debug.cc:
    Move this debugging statement to sim_stats.cc
sim/eventq.cc:
    Don't AutoDelete an event if it is scheduled since the process()
    function could potentially schedule the event again.
sim/main.cc:
    DumpStatsEvent is now Statistics::SetupEvent(Dump, curTick)
sim/serialize.cc:
    Change the serialize event so that it's possible to cause the
    event to repeat.  Also make the priority such that the event
    happens just before the simulator would exit if both events
    were scheduled for the same cycle.

    get rid of the serializeFilename variable and provide a CheckpointFile()
    function.  This function takes a basename that is set in the
    configuration, and appends the current cycle to the name so that
    multiple checkpoints can be dumped from the same simulation.

    Also, don't exit the simulation when a checkpoint file is dumped.
sim/serialize.hh:
    serializeFilename -> CheckpointFile()
    SetupCheckpoint function to tell the simulator to prepare
    to checkpoint at a certain time with a certain period
sim/sim_events.cc:
    DumpStatsEvent stuff gets move to sim_stats.(cc|hh)
    The context stuff gets moved into the already existing
    stats context in stat_context.cc
sim/sim_events.hh:
    DumpStatsEvent stuff gets move to sim_stats.(cc|hh)
sim/universe.cc:
    Provide some simple functions for converting times into
    ticks.  These use floating point math to get as close as
    possible to the real values.  Multipliers are set up ahead
    of time

--HG--
extra : convert_revision : d06ef26a9237529a1e5060cb1ac2dcc04d4ec252
2003-11-02 18:02:58 -05:00
..
alpha_access.h Support for Serializable non-SimObject things like events. 2003-10-29 21:45:39 -08:00
alpha_console.cc Support for Serializable non-SimObject things like events. 2003-10-29 21:45:39 -08:00
alpha_console.hh Support for Serializable non-SimObject things like events. 2003-10-29 21:45:39 -08:00
console.cc Support for Serializable non-SimObject things like events. 2003-10-29 21:45:39 -08:00
console.hh Support for Serializable non-SimObject things like events. 2003-10-29 21:45:39 -08:00
disk_image.cc Implement more m5 pseduo opcodes: 2003-11-02 18:02:58 -05:00
disk_image.hh Serialization support for cow images 2003-10-30 16:48:23 -05:00
etherbus.cc Separate the stuff for SimObject from SimObject builder. 2003-10-20 20:17:01 -04:00
etherbus.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
etherdump.cc Separate the stuff for SimObject from SimObject builder. 2003-10-20 20:17:01 -04:00
etherdump.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
etherint.cc Don't need to include sim/param.hh in sim_object.hh anymore. 2003-10-21 21:32:15 -07:00
etherint.hh only send data to a peer if the peer exists 2003-10-26 22:38:26 -05:00
etherlink.cc Changed the naming of Serializeable derived objects. Serializeable no longer has 2003-10-31 17:32:04 -05:00
etherlink.hh Changed the naming of Serializeable derived objects. Serializeable no longer has 2003-10-31 17:32:04 -05:00
etherpkt.hh Merge Steve & Erik's etherdev & scsi changes with mine (specifically 2003-10-29 22:13:16 -08:00
ethertap.cc Add serialization (which Nate now says we probably don't need) 2003-10-30 15:16:00 -05:00
ethertap.hh Add serialization (which Nate now says we probably don't need) 2003-10-30 15:16:00 -05:00
pcireg.h Import changeset 2003-10-07 10:41:54 -04:00
simple_disk.cc Separate the stuff for SimObject from SimObject builder. 2003-10-20 20:17:01 -04:00
simple_disk.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00