From a0e551869c53d8fd0c8e3969521a2c732ad762b3 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Thu, 27 Jun 2013 05:49:50 -0400 Subject: 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. --- src/python/m5/params.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/python/m5') 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() -- cgit v1.2.3