mem: Add probe support to the CommMonitor
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 4 Aug 2015 09:29:13 +0000 (10:29 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 4 Aug 2015 09:29:13 +0000 (10:29 +0100)
commitfeded87fc99741a0603c4a124bb856eca594c4aa
tree6feffa21c8bbdb65d3cd67b552b756053590a826
parent8723b08dbf254bc436eac2b2ddf86efa02fc4274
mem: Add probe support to the CommMonitor

This changeset adds a standardized probe point type to monitor packets
in the memory system and adds two probe points to the CommMonitor
class. These probe points enable monitoring of successfully delivered
requests and successfully delivered responses.

Memory system probe listeners should use the BaseMemProbe base class
to provide a unified configuration interface and reuse listener
registration code. Unlike the ProbeListenerObject class, the
BaseMemProbe allows objects to be wired to multiple ProbeManager
instances as long as they use the same probe point name.
src/mem/comm_monitor.cc
src/mem/comm_monitor.hh
src/mem/probes/BaseMemProbe.py [new file with mode: 0644]
src/mem/probes/SConscript [new file with mode: 0644]
src/mem/probes/base.cc [new file with mode: 0644]
src/mem/probes/base.hh [new file with mode: 0644]
src/sim/probe/mem.hh [new file with mode: 0644]