projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d2e779
)
params: Fix the memory bandwidth parameter
author
Nathan Binkert
<nate@binkert.org>
Sun, 15 Jun 2008 03:42:45 +0000
(20:42 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Sun, 15 Jun 2008 03:42:45 +0000
(20:42 -0700)
src/python/m5/params.py
patch
|
blob
|
history
diff --git
a/src/python/m5/params.py
b/src/python/m5/params.py
index c8d0d8f46cb9d61347a81412f14efd6f906e20f2..938278541d0b462899b46b20d39db76e6fb3403b 100644
(file)
--- a/
src/python/m5/params.py
+++ b/
src/python/m5/params.py
@@
-892,7
+892,7
@@
class NetworkBandwidth(float,ParamValue):
class MemoryBandwidth(float,ParamValue):
cxx_type = 'float'
- def __new__(
self
, value):
+ def __new__(
cls
, value):
# we want the number of ticks per byte of data
val = convert.toMemoryBandwidth(value)
return super(cls, MemoryBandwidth).__new__(cls, val)