summaryrefslogtreecommitdiff
path: root/src/mem/comm_monitor.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/comm_monitor.hh')
-rw-r--r--src/mem/comm_monitor.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mem/comm_monitor.hh b/src/mem/comm_monitor.hh
index 69122cc60..f1c6b496d 100644
--- a/src/mem/comm_monitor.hh
+++ b/src/mem/comm_monitor.hh
@@ -44,6 +44,7 @@
#include "base/statistics.hh"
#include "base/time.hh"
#include "mem/mem_object.hh"
+#include "mem/stack_dist_calc.hh"
#include "params/CommMonitor.hh"
#include "proto/protoio.hh"
#include "sim/system.hh"
@@ -268,8 +269,6 @@ class CommMonitor : public MemObject
void recvRangeChange();
- void periodicTraceDump();
-
/** Stats declarations, all in a struct for convenience. */
struct MonitorStats
{
@@ -417,6 +416,9 @@ class CommMonitor : public MemObject
/** Instantiate stats */
MonitorStats stats;
+ /** Optional stack distance calculator */
+ StackDistCalc* stackDistCalc;
+
/** Output stream for a potential trace. */
ProtoOutputStream* traceStream;