gem5/dev
Steve Reinhardt 777c1ebfab Stats & serialization tweaks & cleanup. Unserializing from
a checkpoint now gives identical results to running from scratch
and doing at switchover at the same cycle!
- CPUs start at cycle 0 again, not cycle 1.
- curTick is now serialized & unserialized.
- Stats get reset in main (before event loop).  Since this is done
after curTick is unserialized, simTicks gets set correctly for
running from a checkpoint.
- Simplify serialization to happen in a single pass.
- s/Serializeable/Serializable/

arch/alpha/isa_traits.hh:
dev/etherlink.hh:
sim/eventq.cc:
sim/eventq.hh:
    s/Serializeable/Serializable/
kern/tru64/tru64_system.cc:
sim/process.cc:
    Make initial CPU activation on cycle 0 again (not 1).
sim/main.cc:
    Reset stats before getting started.
    Make error message on falling out of event loop
    more meaningful.
sim/serialize.cc:
sim/serialize.hh:
    Get rid of now-useless initial pass; serialization is
    done in a single pass now.
    Serialize & unserialize curTick.
    Wrap curTick and mainEventQueue in a "globals" Serializable object.
    s/Serializeable/Serializable/
sim/sim_object.cc:
    Add static function to serialize all SimObjects.
sim/sim_object.hh:
    Add static function to serialize all SimObjects.
    s/Serializeable/Serializable/

--HG--
extra : convert_revision : 9dcc411d0009b54b8eb61c3a509680b81b9f6f68
2003-12-11 00:16:46 -08:00
..
alpha_access.h Support for Serializable non-SimObject things like events. 2003-10-29 21:45:39 -08:00
alpha_console.cc Factor ExecContext::setStatus(), BaseCPU::execCtxStatusChange(), 2003-12-10 17:47:28 -08:00
alpha_console.hh Support for Serializable non-SimObject things like events. 2003-10-29 21:45:39 -08:00
console.cc This is M5! 2003-11-04 23:45:06 -05:00
console.hh A little bit of code here and there to get more access to 2003-11-04 17:43:41 -05:00
disk_image.cc Make it so that we create a directory for each checkpoint so that 2003-11-14 01:19:16 -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 fix type! argh 2003-11-04 12:48:21 -05:00
etherlink.hh Stats & serialization tweaks & cleanup. Unserializing from 2003-12-11 00:16:46 -08: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