gem5/configs
Joel Hestness 7aa67f42cb Configs: Fix up maxtick and maxtime
This patch contains three fixes to max tick options handling in Options.py and
Simulation.py:

 1) Since the global simulator frequency isn't bound until m5.instantiate()
is called, the maxtick resolution needs to happen after this call, since
changes to the global frequency will cause m5.simulate() to misinterpret the
maxtick value. Shuffling this also requires tweaking the checkpoint directory
handling to signal the checkpoint restore tick back to run().  Fixing this
completely and correctly will require storing the simulation frequency into
checkpoints, which is beyond the scope of this patch.

 2) The maxtick option in Options.py was defaulted to MaxTicks, so the old code
would always skip over the maxtime part of the conditionals at the beginning
of run(). Change the maxtick default to None, and set the maxtick local
variable in run() appropriately.

 3) To clarify whether max ticks settings are relative or absolute, split the
maxtick option into separate options, for relative and absolute. Ensure that
these two options and the maxtime option are handled appropriately to set the
maxtick variable in Simulation.py.
2013-07-18 14:46:54 -05:00
..
boot rcs scripts: remove bbench.rcS 2013-04-02 12:46:49 -04:00
common Configs: Fix up maxtick and maxtime 2013-07-18 14:46:54 -05:00
example config: Update script to set cache line size on system 2013-07-18 08:31:19 -04:00
ruby ruby: check for compatibility between mem size and num dirs 2013-06-28 21:36:11 -05:00
splash2 config: Update script to set cache line size on system 2013-07-18 08:31:19 -04:00
topologies Ruby: Clean up topology changes 2012-08-10 13:50:42 -05:00