diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-11-28 08:00:57 +0000 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-11-28 18:20:39 +0000 |
commit | 60a5a85f9bbdbaa04f7d88d7c42fa14284aad0a1 (patch) | |
tree | 32c03293abc0e852672559a6895e77264f89717c | |
parent | 640248f93532342745baf0e0db65b94cb78ace30 (diff) | |
download | gem5-60a5a85f9bbdbaa04f7d88d7c42fa14284aad0a1.tar.xz |
base: Add missing overrides in statistics header
Change-Id: Id5ee2a970a3dceee1b7e24ce3b452b7fece87875
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14619
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
-rw-r--r-- | src/base/statistics.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/statistics.hh b/src/base/statistics.hh index 3e1758ab8..404bdf15a 100644 --- a/src/base/statistics.hh +++ b/src/base/statistics.hh @@ -2320,7 +2320,7 @@ class BinaryNode : public Node BinaryNode(NodePtr &a, NodePtr &b) : l(a), r(b) {} const VResult & - result() const + result() const override { Op op; const VResult &lvec = l->result(); @@ -2352,7 +2352,7 @@ class BinaryNode : public Node } Result - total() const + total() const override { const VResult &vec = this->result(); const VResult &lvec = l->result(); @@ -2384,7 +2384,7 @@ class BinaryNode : public Node } size_type - size() const + size() const override { size_type ls = l->size(); size_type rs = r->size(); @@ -2399,7 +2399,7 @@ class BinaryNode : public Node } std::string - str() const + str() const override { return csprintf("(%s %s %s)", l->str(), OpString<Op>::str(), r->str()); } |