changeset 52567889c9fc in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=52567889c9fc
description:
sim: Make MaxTick in Python match the one in C++
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.
diffstat:
src/python/m5/simulate.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r e895db06e69f -r 52567889c9fc src/python/m5/simulate.py
--- a/src/python/m5/simulate.py Mon Jul 15 18:08:57 2013 -0400
+++ b/src/python/m5/simulate.py Thu Jul 18 08:29:08 2013 -0400
@@ -57,8 +57,8 @@
from util import fatal
from util import attrdict
-# define a MaxTick parameter
-MaxTick = 2**63 - 1
+# define a MaxTick parameter, unsigned 64 bit
+MaxTick = 2**64 - 1
_memory_modes = {
"atomic" : objects.params.atomic,
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev