53 unsigned chkpt_buf_length;
unsigned simLength
Effective length, used for modeling timing in the simulator.
unsigned length
Amount of space occupied by the payload in the data buffer.
uint8_t * data
Pointer to packet data will be deleted.
void serialize(const std::string &base, CheckpointOut &cp) const
unsigned bufLength
Total size of the allocated data buffer.
void unserialize(const std::string &base, CheckpointIn &cp)
bool optParamIn(CheckpointIn &cp, const std::string &name, T ¶m, bool do_warn=true)
This function is used for restoring optional parameters from the checkpoint.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::ostream CheckpointOut
void paramOut(CheckpointOut &cp, const std::string &name, ExtMachInst const &machInst)
void paramIn(CheckpointIn &cp, const std::string &name, ExtMachInst &machInst)
void arrayParamOut(CheckpointOut &cp, const std::string &name, const CircleBuf< T > ¶m)
void arrayParamIn(CheckpointIn &cp, const std::string &name, CircleBuf< T > ¶m)