mem-cache: Add match functions to QueueEntry
[gem5.git] / src / mem / CommMonitor.py
index a34a57db42d4e9c13c384f418dd27284f638c962..fc53ef1f0aeb1622d056fde5e264141c7c11a614 100644 (file)
@@ -37,7 +37,9 @@
 #          Andreas Hansson
 
 from m5.params import *
-from MemObject import MemObject
+from m5.proxy import *
+from m5.objects.MemObject import MemObject
+from m5.objects.System import System
 
 # The communication monitor will most typically be used in combination
 # with periodic dumping and resetting of stats using schedStatEvent
@@ -45,6 +47,8 @@ class CommMonitor(MemObject):
     type = 'CommMonitor'
     cxx_header = "mem/comm_monitor.hh"
 
+    system = Param.System(Parent.any, "System that the monitor belongs to.")
+
     # one port in each direction
     master = MasterPort("Master port")
     slave = SlavePort("Slave port")