summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorLisa Hsu <Lisa.Hsu@amd.com>2010-01-18 14:30:31 -0800
committerLisa Hsu <Lisa.Hsu@amd.com>2010-01-18 14:30:31 -0800
commit4a40ac71f8679ea7c15efb45afd522bf4d3b3e73 (patch)
tree7ae31986310c950b4e0565cb7f35bcacf4e3634b /src/sim
parent8b4e8690b73f61ae0bb2cb052ec56f58d1d531e2 (diff)
downloadgem5-4a40ac71f8679ea7c15efb45afd522bf4d3b3e73.tar.xz
util: make a generic checkpoint aggregator that can aggregate different cpts into one multi-programmed cpt. Make minor changes to serialization/unserialization to get it to work properly. Note that checkpoints were made with a comment at the beginning with // - this must be changed to ## to work properly with the python config parser in the aggregator.
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/serialize.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/serialize.cc b/src/sim/serialize.cc
index 5ae9128e5..1663d18bc 100644
--- a/src/sim/serialize.cc
+++ b/src/sim/serialize.cc
@@ -422,7 +422,7 @@ Serializable::serializeAll(const string &cpt_dir)
time_t t = time(NULL);
if (!outstream.is_open())
fatal("Unable to open file %s for writing\n", cpt_file.c_str());
- outstream << "// checkpoint generated: " << ctime(&t);
+ outstream << "## checkpoint generated: " << ctime(&t);
globals.serialize(outstream);
SimObject::serializeAll(outstream);