projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb29dcf
)
sim: Make MaxTick in Python match the one in C++
author
Andreas Hansson
<andreas.hansson@arm.com>
Thu, 18 Jul 2013 12:29:08 +0000
(08:29 -0400)
committer
Andreas Hansson
<andreas.hansson@arm.com>
Thu, 18 Jul 2013 12:29:08 +0000
(08:29 -0400)
This patch aligns the MaxTick in Python with the one in C++. Thus,
both reflect the maximum value that an unsigned 64-bit integer can
have.
src/python/m5/simulate.py
patch
|
blob
|
history
diff --git
a/src/python/m5/simulate.py
b/src/python/m5/simulate.py
index 682104c26f4d69fd866cf203055244250aa0c077..a3ca77af1a4b03fd9a7613f409ae261b9f2b6c7f 100644
(file)
--- a/
src/python/m5/simulate.py
+++ b/
src/python/m5/simulate.py
@@
-57,8
+57,8
@@
from m5.internal.stats import updateEvents as updateStatEvents
from util import fatal
from util import attrdict
-# define a MaxTick parameter
-MaxTick = 2**6
3
- 1
+# define a MaxTick parameter
, unsigned 64 bit
+MaxTick = 2**6
4
- 1
_memory_modes = {
"atomic" : objects.params.atomic,