void serialize(const ThreadContext &tc, CheckpointOut &cp)
Thread context serialization helpers.
void unserialize(ThreadContext &tc, CheckpointIn &cp)
bool to_number(const std::string &value, VecPredRegContainer< NumBits, Packed > &p)
Helper functions used for serialization/de-serialization.
bool optParamIn(CheckpointIn &cp, const std::string &name, T ¶m, bool warn=true)
This function is used for restoring optional parameters from the checkpoint.