From 022e69e6de513fce2efea8d732e9274624ce3e94 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 4 Aug 2015 10:29:13 +0100 Subject: 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. --- src/mem/comm_monitor.hh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/mem/comm_monitor.hh') diff --git a/src/mem/comm_monitor.hh b/src/mem/comm_monitor.hh index 941de23ab..d2ce1d224 100644 --- a/src/mem/comm_monitor.hh +++ b/src/mem/comm_monitor.hh @@ -43,7 +43,6 @@ #include "base/statistics.hh" #include "mem/mem_object.hh" -#include "mem/stack_dist_calc.hh" #include "params/CommMonitor.hh" #include "proto/protoio.hh" #include "sim/probe/mem.hh" @@ -417,9 +416,6 @@ class CommMonitor : public MemObject /** Address mask for sources of write accesses to be captured */ const Addr writeAddrMask; - /** Optional stack distance calculator */ - StackDistCalc *const stackDistCalc; - /** The system in which the monitor lives */ System *const system; -- cgit v1.2.3