gem5/kern/tru64
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
..
dump_mbuf.cc Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
dump_mbuf.hh Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
mbuf.hh Split up kernel.cc into separate files for dump_mbuf and printf 2003-10-13 17:24:27 -04:00
printf.cc Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
printf.hh Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
tru64.hh Import changeset 2003-10-07 10:41:54 -04:00
tru64_events.cc add things to track read and soo_read for specweb. 2003-11-05 23:38:51 -05:00
tru64_events.hh We only need to choose that we do want binning, or we don't. 2003-11-22 15:07:53 -05:00
tru64_syscalls.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
tru64_syscalls.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
tru64_system.cc Stats & serialization tweaks & cleanup. Unserializing from 2003-12-11 00:16:46 -08:00
tru64_system.hh track the idle_thread() function in the kernel, so that we can know if we are idle during a run. 2003-11-07 00:14:38 -05:00