diff options
-rw-r--r-- | src/python/m5/ticks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/ticks.py b/src/python/m5/ticks.py index fe258421e..e4b5eac7e 100644 --- a/src/python/m5/ticks.py +++ b/src/python/m5/ticks.py @@ -49,7 +49,7 @@ def setGlobalFrequency(ticksPerSecond): else: raise TypeError, \ "wrong type '%s' for ticksPerSecond" % type(ticksPerSecond) - _m5.core.setClockFrequency(tps) + _m5.core.setClockFrequency(int(tps)) # how big does a rounding error need to be before we warn about it? frequency_tolerance = 0.001 # 0.1% |