projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: Fix unproxing of VectorParams
[gem5.git]
/
src
/
python
/
m5
/
ticks.py
diff --git
a/src/python/m5/ticks.py
b/src/python/m5/ticks.py
index 0d82f6edde5502b03ac06a30b6845eb3c58f953a..ce9459f2a98cea00d13bd3b2bce1c236960b4bb5 100644
(file)
--- a/
src/python/m5/ticks.py
+++ b/
src/python/m5/ticks.py
@@
-34,11
+34,11
@@
tps_fixed = False # once set to true, can't be changed
# fix the global frequency and tell C++ about it
def fixGlobalFrequency():
# fix the global frequency and tell C++ about it
def fixGlobalFrequency():
- import
internal
+ import
_m5.core
global tps, tps_fixed
if not tps_fixed:
tps_fixed = True
global tps, tps_fixed
if not tps_fixed:
tps_fixed = True
-
internal
.core.setClockFrequency(int(tps))
+
_m5
.core.setClockFrequency(int(tps))
print "Global frequency set at %d ticks per second" % int(tps)
def setGlobalFrequency(ticksPerSecond):
print "Global frequency set at %d ticks per second" % int(tps)
def setGlobalFrequency(ticksPerSecond):