projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
810dcca
)
few more stat items to serialize
author
Erik Hallnor
<ehallnor@umich.edu>
Sat, 2 Oct 2004 16:43:59 +0000
(12:43 -0400)
committer
Erik Hallnor
<ehallnor@umich.edu>
Sat, 2 Oct 2004 16:43:59 +0000
(12:43 -0400)
kern/kernel_stats.cc:
Few more items to serialize
--HG--
extra : convert_revision :
b816512735928cbde0b24bf8cb48deec9fb26413
kern/kernel_stats.cc
patch
|
blob
|
history
diff --git
a/kern/kernel_stats.cc
b/kern/kernel_stats.cc
index c0443aa90987b68af7a01f360cd2451382c50d80..7fd0f31aeba18c2fa3cb6e9ed6c5fefec03dfcb3 100644
(file)
--- 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;
}