summaryrefslogtreecommitdiff
path: root/src/mem/probes
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/probes')
-rw-r--r--src/mem/probes/base.hh4
-rw-r--r--src/mem/probes/mem_trace.hh3
-rw-r--r--src/mem/probes/stack_dist.hh5
3 files changed, 5 insertions, 7 deletions
diff --git a/src/mem/probes/base.hh b/src/mem/probes/base.hh
index ccb5ca749..78e6f6b8d 100644
--- a/src/mem/probes/base.hh
+++ b/src/mem/probes/base.hh
@@ -65,7 +65,7 @@ class BaseMemProbe : public SimObject
public:
BaseMemProbe(BaseMemProbeParams *params);
- void regProbeListeners() M5_ATTR_OVERRIDE;
+ void regProbeListeners() override;
protected:
/**
@@ -82,7 +82,7 @@ class BaseMemProbe : public SimObject
: ProbeListenerArgBase(pm, name),
parent(_parent) {}
- void notify(const ProbePoints::PacketInfo &pkt_info) M5_ATTR_OVERRIDE {
+ void notify(const ProbePoints::PacketInfo &pkt_info) override {
parent.handleRequest(pkt_info);
}
diff --git a/src/mem/probes/mem_trace.hh b/src/mem/probes/mem_trace.hh
index 51f272812..d34235eef 100644
--- a/src/mem/probes/mem_trace.hh
+++ b/src/mem/probes/mem_trace.hh
@@ -52,8 +52,7 @@ class MemTraceProbe : public BaseMemProbe
MemTraceProbe(MemTraceProbeParams *params);
protected:
- void handleRequest(const ProbePoints::PacketInfo &pkt_info) \
- M5_ATTR_OVERRIDE;
+ void handleRequest(const ProbePoints::PacketInfo &pkt_info) override;
/**
* Callback to flush and close all open output streams on exit. If
diff --git a/src/mem/probes/stack_dist.hh b/src/mem/probes/stack_dist.hh
index 8374672da..66b75109a 100644
--- a/src/mem/probes/stack_dist.hh
+++ b/src/mem/probes/stack_dist.hh
@@ -52,11 +52,10 @@ class StackDistProbe : public BaseMemProbe
public:
StackDistProbe(StackDistProbeParams *params);
- void regStats() M5_ATTR_OVERRIDE;
+ void regStats() override;
protected:
- void handleRequest(const ProbePoints::PacketInfo &pkt_info) \
- M5_ATTR_OVERRIDE;
+ void handleRequest(const ProbePoints::PacketInfo &pkt_info) override;
protected:
// Cache line size to simulate