summaryrefslogtreecommitdiff
path: root/src/kern/kernel_stats.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/kern/kernel_stats.hh')
-rw-r--r--src/kern/kernel_stats.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kern/kernel_stats.hh b/src/kern/kernel_stats.hh
index 0c8ed248a..8cc1ca84e 100644
--- a/src/kern/kernel_stats.hh
+++ b/src/kern/kernel_stats.hh
@@ -80,8 +80,8 @@ class Statistics : public Serializable
void swpipl(int ipl);
public:
- virtual void serialize(std::ostream &os);
- virtual void unserialize(Checkpoint *cp, const std::string &section);
+ void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
+ void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
};
} // namespace Kernel