Add mem_trace parameter to BaseCache.
authorSteve Reinhardt <stever@eecs.umich.edu>
Fri, 13 May 2005 19:01:42 +0000 (15:01 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Fri, 13 May 2005 19:01:42 +0000 (15:01 -0400)
python/m5/objects/BaseCache.mpy:
    Add mem_trace parameter.

--HG--
extra : convert_revision : a0bab53fabd7426eee5ca9c845c02a6ac2e1722f

python/m5/objects/BaseCache.mpy

index da0c7c50e9ed52e0cc6db50e48644bb27b51fb8f..a9a665f77d0aabe6e61f900e7cbf23db50c7581f 100644 (file)
@@ -19,6 +19,8 @@ simobj BaseCache(BaseMem):
         "whether this NIC partition should use LIFO repl. policy")
     max_miss_count = Param.Counter(0,
         "number of misses to handle before calling exit")
+    mem_trace = Param.MemTraceWriter(NULL,
+                                     "memory trace writer to record accesses")
     mshrs = Param.Int("number of MSHRs (max outstanding requests)")
     out_bus = Param.Bus("outgoing bus object")
     prioritizeRequests = Param.Bool(False,