mem: Fix guest corruption when caches handle uncacheable accesses
[gem5.git] / src / mem / CommMonitor.py
index 3621942d9514e979c8c559b57298bc22ec223f18..3f9106cc44e47e28952ca1c5fde8b39533b37ffa 100644 (file)
@@ -43,11 +43,15 @@ from MemObject import MemObject
 # with periodic dumping and resetting of stats using schedStatEvent
 class CommMonitor(MemObject):
     type = 'CommMonitor'
+    cxx_header = "mem/comm_monitor.hh"
 
     # one port in each direction
     master = MasterPort("Master port")
     slave = SlavePort("Slave port")
 
+    # packet trace output file, disabled by default
+    trace_file = Param.String("", "Packet trace output file")
+
     # control the sample period window length of this monitor
     sample_period = Param.Clock("1ms", "Sample period for histograms")