summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorErik Hallnor <ehallnor@umich.edu>2004-10-02 12:43:59 -0400
committerErik Hallnor <ehallnor@umich.edu>2004-10-02 12:43:59 -0400
commit800d970c2675a6609c29f4ddbc7a308e80a2caa9 (patch)
tree3571995998f9f280d7b2ed7dd2417b8970e8b7b2 /kern
parent810dcca1d105aade81156c8adf0a91b641d35590 (diff)
downloadgem5-800d970c2675a6609c29f4ddbc7a308e80a2caa9.tar.xz
few more stat items to serialize
kern/kernel_stats.cc: Few more items to serialize --HG-- extra : convert_revision : b816512735928cbde0b24bf8cb48deec9fb26413
Diffstat (limited to 'kern')
-rw-r--r--kern/kernel_stats.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/kern/kernel_stats.cc b/kern/kernel_stats.cc
index c0443aa90..7fd0f31ae 100644
--- a/kern/kernel_stats.cc
+++ b/kern/kernel_stats.cc
@@ -295,6 +295,9 @@ Statistics::serialize(ostream &os)
int exemode = themode;
SERIALIZE_SCALAR(exemode);
SERIALIZE_SCALAR(idleProcess);
+ SERIALIZE_SCALAR(iplLast);
+ SERIALIZE_SCALAR(iplLastTick);
+ SERIALIZE_SCALAR(lastModeTick);
}
void
@@ -303,6 +306,9 @@ Statistics::unserialize(Checkpoint *cp, const string &section)
int exemode;
UNSERIALIZE_SCALAR(exemode);
UNSERIALIZE_SCALAR(idleProcess);
+ UNSERIALIZE_SCALAR(iplLast);
+ UNSERIALIZE_SCALAR(iplLastTick);
+ UNSERIALIZE_SCALAR(lastModeTick);
themode = (cpu_mode)exemode;
}