changeset 0236a478a92d in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=0236a478a92d
description:
        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:

 src/python/m5/params.py |  8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diffs (18 lines):

diff -r 6e6cefc1db1f -r 0236a478a92d src/python/m5/params.py
--- a/src/python/m5/params.py   Thu Jun 27 05:49:49 2013 -0400
+++ b/src/python/m5/params.py   Thu Jun 27 05:49:50 2013 -0400
@@ -1244,14 +1244,6 @@
             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()
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to