diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-04-13 09:38:50 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-04-13 09:38:50 -0400 |
commit | d86bed198ab7fbb16703317aa5414283d761968f (patch) | |
tree | 97f486913e675e2cb52d7d08aac0cab530d1b8db /sim/serialize.hh | |
parent | be7152b5524a02bb529f095a0c0e15caece189e5 (diff) | |
download | gem5-d86bed198ab7fbb16703317aa5414283d761968f.tar.xz |
Add support to limit the number of checkpoints dropped.
sim/serialize.hh:
Add variables to keep track of the number of checkpoints
dropped and maximum allowed.
--HG--
extra : convert_revision : 32241b90c58def6958ec84c53cc2cca996007506
Diffstat (limited to 'sim/serialize.hh')
-rw-r--r-- | sim/serialize.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/serialize.hh b/sim/serialize.hh index 5df168665..de208265e 100644 --- a/sim/serialize.hh +++ b/sim/serialize.hh @@ -119,6 +119,8 @@ class Serializable static Serializable *create(Checkpoint *cp, const std::string §ion); + static int count; + static int maxCount; static void serializeAll(); static void unserializeGlobals(Checkpoint *cp); }; |