serialize.hh (8902:75b524b64c28) | serialize.hh (9048:950298f29140) |
---|---|
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; --- 36 unchanged lines hidden (view full) --- 45 46#include "base/types.hh" 47 48class IniFile; 49class Serializable; 50class Checkpoint; 51class SimObject; 52 | 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; --- 36 unchanged lines hidden (view full) --- 45 46#include "base/types.hh" 47 48class IniFile; 49class Serializable; 50class Checkpoint; 51class SimObject; 52 |
53/** The current version of the checkpoint format. 54 * This should be incremented by 1 and only 1 for every new version, where a new 55 * version is defined as a checkpoint created before this version wont work on 56 * the current version until the checkpoint format is updated. Adding a new 57 * SimObject shouldn't cause the version number to increase, only changes to 58 * existing objects such as serializing/unserializing more stote, changing sizes 59 * of serialized arrays, etc. */ 60static const uint64_t gem5CheckpointVersion = 0x0000000000000001; 61 |
|
53template <class T> 54void paramOut(std::ostream &os, const std::string &name, const T ¶m); 55 56template <class T> 57void paramIn(Checkpoint *cp, const std::string §ion, 58 const std::string &name, T ¶m); 59 60template <class T> --- 226 unchanged lines hidden --- | 62template <class T> 63void paramOut(std::ostream &os, const std::string &name, const T ¶m); 64 65template <class T> 66void paramIn(Checkpoint *cp, const std::string §ion, 67 const std::string &name, T ¶m); 68 69template <class T> --- 226 unchanged lines hidden --- |