diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-08-04 10:29:13 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-08-04 10:29:13 +0100 |
commit | a3f49f60c74c33ede433a024ae85d1ca47ed3c78 (patch) | |
tree | e25a85dccdffd555d92326aafb930e0cbf755b34 /src/mem/CommMonitor.py | |
parent | 022e69e6de513fce2efea8d732e9274624ce3e94 (diff) | |
download | gem5-a3f49f60c74c33ede433a024ae85d1ca47ed3c78.tar.xz |
mem: Move trace functionality from the CommMonitor to a probe
This changeset moves the access trace functionality from the
CommMonitor into a separate probe. The probe can be hooked up to any
component that exports probe points of the type ProbePoints::Packet.
This patch moves the dependency on Google's Protocol Buffers library
from the CommMonitor to the MemTraceProbe, which means that the
CommMonitor (including stack distance profiling) no long depends on
it.
Diffstat (limited to 'src/mem/CommMonitor.py')
-rw-r--r-- | src/mem/CommMonitor.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mem/CommMonitor.py b/src/mem/CommMonitor.py index ba871357d..aa8da62ed 100644 --- a/src/mem/CommMonitor.py +++ b/src/mem/CommMonitor.py @@ -53,16 +53,6 @@ class CommMonitor(MemObject): master = MasterPort("Master port") slave = SlavePort("Slave port") - # Boolean to enable or disable the trace. Writes to an a file named based on - # SimObject hierarchy. - trace_enable = Param.Bool(False, "Enable trace capture") - - # Boolean to compress the trace or not. - trace_compress = Param.Bool(True, "Enable trace compression") - - # 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") |