From: Erik Hallnor Date: Sat, 2 Oct 2004 16:43:59 +0000 (-0400) Subject: few more stat items to serialize X-Git-Tag: m5_1.0_tutorial~170^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=800d970c2675a6609c29f4ddbc7a308e80a2caa9;p=gem5.git few more stat items to serialize kern/kernel_stats.cc: Few more items to serialize --HG-- extra : convert_revision : b816512735928cbde0b24bf8cb48deec9fb26413 --- 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 §ion) int exemode; UNSERIALIZE_SCALAR(exemode); UNSERIALIZE_SCALAR(idleProcess); + UNSERIALIZE_SCALAR(iplLast); + UNSERIALIZE_SCALAR(iplLastTick); + UNSERIALIZE_SCALAR(lastModeTick); themode = (cpu_mode)exemode; }