summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-09-01 11:32:58 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-09-01 11:32:58 -0400
commit23a9102d01782f3caea6e10dee7320f4fe954b23 (patch)
treec1b657f8554fe339617ea247783404dcf3127804 /python
parent1b39eb38bdb285e13314c3dc0943392eb5c54419 (diff)
downloadgem5-23a9102d01782f3caea6e10dee7320f4fe954b23.tar.xz
Convert type of max_time and progress_interval parameters
from Latency to Tick, and rename max_time to max_tick. python/m5/objects/Root.py: sim/root.cc: Convert type of max_time and progress_interval from Latency to Tick, and rename max_time to max_tick. --HG-- extra : convert_revision : 2f2aacf6321c3003a0ce834acd8fb726abf27ce3
Diffstat (limited to 'python')
-rw-r--r--python/m5/objects/Root.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/m5/objects/Root.py b/python/m5/objects/Root.py
index a5aaadd8c..df8fc4bf8 100644
--- a/python/m5/objects/Root.py
+++ b/python/m5/objects/Root.py
@@ -7,9 +7,9 @@ from Trace import Trace
class Root(SimObject):
type = 'Root'
clock = Param.RootClock('200MHz', "tick frequency")
- max_time = Param.Latency('0ns', "maximum simulation time (0 = infinite)")
- progress_interval = Param.Latency('0ns',
- "print a progress message at a regular interval (0 = never)")
+ max_tick = Param.Tick('0', "maximum simulation ticks (0 = infinite)")
+ progress_interval = Param.Tick('0',
+ "print a progress message every n ticks (0 = never)")
output_file = Param.String('cout', "file to dump simulator output to")
checkpoint = Param.String('', "checkpoint file to load")
# hier = Param.HierParams(HierParams(do_data = False, do_events = True),