few more stat items to serialize
kern/kernel_stats.cc: Few more items to serialize --HG-- extra : convert_revision : b816512735928cbde0b24bf8cb48deec9fb26413
This commit is contained in:
parent
810dcca1d1
commit
800d970c26
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue