mem: Redesign the stack distance calculator as a probe
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)
commit022e69e6de513fce2efea8d732e9274624ce3e94
tree4d2464067387eef65fc798eebc47e11fa382ebef
parentfeded87fc99741a0603c4a124bb856eca594c4aa
mem: Redesign the stack distance calculator as a probe

This changeset removes the stack distance calculator hooks from the
CommMonitor class and implements a stack distance calculator as a
memory system probe instead. The probe can be hooked up to any
component that exports probe points of the type ProbePoints::Packet.
12 files changed:
src/mem/CommMonitor.py
src/mem/SConscript
src/mem/StackDistCalc.py [deleted file]
src/mem/comm_monitor.cc
src/mem/comm_monitor.hh
src/mem/probes/SConscript
src/mem/probes/StackDistProbe.py [new file with mode: 0644]
src/mem/probes/stack_dist.cc [new file with mode: 0644]
src/mem/probes/stack_dist.hh [new file with mode: 0644]
src/mem/stack_dist_calc.cc
src/mem/stack_dist_calc.hh
tests/configs/tgen-simple-mem.py