Update the Memtester, commit a config file/test for it.
[gem5.git] / src / sim / serialize.hh
index 64ed6142fdbeba49e3da8a0bca81b478a053cb60..880fb0785859d85427ee31239fce4b77315752f7 100644 (file)
@@ -126,7 +126,8 @@ class Serializable
     static int ckptCount;
     static int ckptMaxCount;
     static int ckptPrevCount;
-    static void serializeAll();
+    static void serializeAll(const std::string &cpt_dir);
+    static void unserializeAll(const std::string &cpt_dir);
     static void unserializeGlobals(Checkpoint *cp);
 };
 
@@ -204,6 +205,9 @@ class SerializableClass
 SerializableClass the##OBJ_CLASS##Class(CLASS_NAME,                       \
                                          OBJ_CLASS::createForUnserialize);
 
+void
+setCheckpointDir(const std::string &name);
+
 class Checkpoint
 {
   private:
@@ -237,9 +241,6 @@ class Checkpoint
 
     // Filename for base checkpoint file within directory.
     static const char *baseFilename;
-
-    // Set up a checkpoint creation event or series of events.
-    static void setup(Tick when, Tick period = 0);
 };
 
 #endif // __SERIALIZE_HH__