projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge zizzer:/bk/newmem
[gem5.git]
/
configs
/
common
/
Simulation.py
diff --git
a/configs/common/Simulation.py
b/configs/common/Simulation.py
index 8374d2fb59dc5f7bca7de6d393f83af1021083ad..61b14f0266c311534387f2002a25ceb5f600ebeb 100644
(file)
--- a/
configs/common/Simulation.py
+++ b/
configs/common/Simulation.py
@@
-64,7
+64,7
@@
def run(options, root, testsys, cpu_class):
if options.maxtick:
maxtick = options.maxtick
elif options.maxtime:
- simtime =
int(options.maxtime * root.clock.valu
e)
+ simtime =
m5.ticks.seconds(simtim
e)
print "simulating for: ", simtime
maxtick = simtime
else: