serialize.hh (9983:2cce74fe359e) serialize.hh (10037:5cac77888310)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 44 unchanged lines hidden (view full) ---

53
54/** The current version of the checkpoint format.
55 * This should be incremented by 1 and only 1 for every new version, where a new
56 * version is defined as a checkpoint created before this version won't work on
57 * the current version until the checkpoint format is updated. Adding a new
58 * SimObject shouldn't cause the version number to increase, only changes to
59 * existing objects such as serializing/unserializing more state, changing sizes
60 * of serialized arrays, etc. */
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 44 unchanged lines hidden (view full) ---

53
54/** The current version of the checkpoint format.
55 * This should be incremented by 1 and only 1 for every new version, where a new
56 * version is defined as a checkpoint created before this version won't work on
57 * the current version until the checkpoint format is updated. Adding a new
58 * SimObject shouldn't cause the version number to increase, only changes to
59 * existing objects such as serializing/unserializing more state, changing sizes
60 * of serialized arrays, etc. */
61static const uint64_t gem5CheckpointVersion = 0x0000000000000008;
61static const uint64_t gem5CheckpointVersion = 0x0000000000000009;
62
63template <class T>
64void paramOut(std::ostream &os, const std::string &name, const T &param);
65
66template <class T>
67void paramIn(Checkpoint *cp, const std::string &section,
68 const std::string &name, T &param);
69

--- 236 unchanged lines hidden ---
62
63template <class T>
64void paramOut(std::ostream &os, const std::string &name, const T &param);
65
66template <class T>
67void paramIn(Checkpoint *cp, const std::string &section,
68 const std::string &name, T &param);
69

--- 236 unchanged lines hidden ---