|
| #define | SERIALIZE_SCALAR(scalar) paramOut(cp, #scalar, scalar) |
| |
| #define | UNSERIALIZE_SCALAR(scalar) paramIn(cp, #scalar, scalar) |
| |
| #define | UNSERIALIZE_OPT_SCALAR(scalar) optParamIn(cp, #scalar, scalar) |
| |
| #define | SERIALIZE_ENUM(scalar) paramOut(cp, #scalar, (int)scalar) |
| |
| #define | UNSERIALIZE_ENUM(scalar) |
| |
| #define | SERIALIZE_ARRAY(member, size) ::gem5::arrayParamOut(cp, #member, member, size) |
| |
| #define | UNSERIALIZE_ARRAY(member, size) ::gem5::arrayParamIn(cp, #member, member, size) |
| |
| #define | SERIALIZE_CONTAINER(member) ::gem5::arrayParamOut(cp, #member, member) |
| |
| #define | UNSERIALIZE_CONTAINER(member) ::gem5::arrayParamIn(cp, #member, member) |
| |
| #define | SERIALIZE_OBJ(obj) obj.serializeSection(cp, #obj) |
| |
| #define | UNSERIALIZE_OBJ(obj) obj.unserializeSection(cp, #obj) |
| |
| #define | SERIALIZE_MAPPING(member, names, size) ::gem5::mappingParamOut(cp, #member, names, member, size) |
| |
| #define | UNSERIALIZE_MAPPING(member, names, size) ::gem5::mappingParamIn(cp, #member, names, member, size) |
| |
|
| template<class T > |
| void | gem5::paramOut (CheckpointOut &os, const std::string &name, const T ¶m) |
| | This function is used for writing parameters to a checkpoint. More...
|
| |
| template<class T > |
| bool | gem5::paramInImpl (CheckpointIn &cp, const std::string &name, T ¶m) |
| |
| template<class T > |
| bool | gem5::optParamIn (CheckpointIn &cp, const std::string &name, T ¶m, bool do_warn=true) |
| | This function is used for restoring optional parameters from the checkpoint. More...
|
| |
| template<class T > |
| void | gem5::paramIn (CheckpointIn &cp, const std::string &name, T ¶m) |
| | This function is used for restoring parameters from a checkpoint. More...
|
| |
| template<class InputIterator > |
| void | gem5::arrayParamOut (CheckpointOut &os, const std::string &name, InputIterator start, InputIterator end) |
| |
| template<class T > |
| void | gem5::arrayParamOut (CheckpointOut &os, const std::string &name, const T *param, unsigned size) |
| |
| template<class T , class InsertIterator > |
| void | gem5::arrayParamIn (CheckpointIn &cp, const std::string &name, InsertIterator inserter, ssize_t fixed_size=-1) |
| | Extract values stored in the checkpoint, and assign them to the provided array container. More...
|
| |
| template<class T > |
| decltype(std::declval< T >().insert(std::declval< typename T::value_type >()), void()) | gem5::arrayParamIn (CheckpointIn &cp, const std::string &name, T ¶m) |
| |
| template<class T > |
| decltype(std::declval< T >().push_back(std::declval< typename T::value_type >()), void()) | gem5::arrayParamIn (CheckpointIn &cp, const std::string &name, T ¶m) |
| |
| template<class T > |
| void | gem5::arrayParamIn (CheckpointIn &cp, const std::string &name, T *param, unsigned size) |
| |
| template<class T > |
| void | gem5::mappingParamOut (CheckpointOut &os, const char *sectionName, const char *const names[], const T *param, unsigned size) |
| | Serialize a mapping represented as two arrays: one containing names and the other containing values. More...
|
| |
| template<class T > |
| void | gem5::mappingParamIn (CheckpointIn &cp, const char *sectionName, const char *const names[], T *param, unsigned size) |
| | Restore mappingParamOut. More...
|
| |