projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d667ce0
)
Float should have a c++ param type
author
Nathan Binkert
<binkertn@umich.edu>
Fri, 11 May 2007 18:48:58 +0000
(11:48 -0700)
committer
Nathan Binkert
<binkertn@umich.edu>
Fri, 11 May 2007 18:48:58 +0000
(11:48 -0700)
--HG--
extra : convert_revision :
150bbe7f31aafb43a75195fc2a365fb3c0ec5673
src/python/m5/params.py
patch
|
blob
|
history
diff --git
a/src/python/m5/params.py
b/src/python/m5/params.py
index da7ddd65e10100a5e3a92aea7a4e74eed165ae24..88b16287459f3c828760869a1395c62096cceea7 100644
(file)
--- a/
src/python/m5/params.py
+++ b/
src/python/m5/params.py
@@
-348,7
+348,7
@@
class UdpPort(CheckedInt): cxx_type = 'uint16_t'; size = 16; unsigned = True
class Percent(CheckedInt): cxx_type = 'int'; min = 0; max = 100
class Float(ParamValue, float):
- pass
+ cxx_type = 'double'
class MemorySize(CheckedInt):
cxx_type = 'uint64_t'