gem5/configs/common
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
..
Benchmarks.py configs: add run scripts for ics/gb versions of android and bbench 2012-06-11 11:07:42 -04:00
CacheConfig.py config: Update script to set cache line size on system 2013-07-18 08:31:19 -04:00
Caches.py config: Update script to set cache line size on system 2013-07-18 08:31:19 -04:00
cpu2000.py cpu2000: Add missing art benchmark to all 2012-01-09 18:08:20 -06:00
CpuConfig.py config: Cleanup CPU configuration 2013-02-15 17:40:08 -05:00
FSConfig.py mem: Avoid explicitly zeroing the memory backing store 2013-05-30 12:53:54 -04:00
MemConfig.py mem: More descriptive DRAM config names 2013-05-30 12:54:14 -04:00
O3_ARM_v7a.py config: Update script to set cache line size on system 2013-07-18 08:31:19 -04:00
Options.py Configs: Fix up maxtick and maxtime 2013-07-18 14:46:54 -05:00
Simulation.py Configs: Fix up maxtick and maxtime 2013-07-18 14:46:54 -05:00
SysPaths.py make rcS files read from the m5 source directory, not /dist. 2006-11-08 14:10:25 -05:00