summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-06-27 05:49:50 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-06-27 05:49:50 -0400
commita0e551869c53d8fd0c8e3969521a2c732ad762b3 (patch)
tree7da7ad98ad5d8407fe8a9d8748704ebc1119b8ab /src/python/m5
parent7d7ab738622e7969a7db85ff970e406c950b2576 (diff)
downloadgem5-a0e551869c53d8fd0c8e3969521a2c732ad762b3.tar.xz
config: Remove Clock parameter multiplication
This patch removes the multiplication operator support for Clock parameters as this functionality is now achieved by creating derived clock domains. Nate, this one is for you.
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/params.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index fdd22dac0..995c66de5 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -1244,14 +1244,6 @@ class Clock(ParamValue):
return Latency(self)
raise AttributeError, "Frequency object has no attribute '%s'" % attr
- def __mul__(self, other):
- # Always treat the clock as a period when scaling
- newobj = self.__class__(self)
- newobj.value *= other
- return newobj
-
- __rmul__ = __mul__
-
def getValue(self):
return self.period.getValue()