|
The Sparta Modeling Framework
|
This class retrieves checkpoints from disk for post-simulation use cases. More...
#include <CherryPickFastCheckpointer.hpp>
Public Member Functions | |
| DatabaseCheckpointLoader (simdb::DatabaseManager *db_mgr, TreeNode *root) | |
| Construct with one root from which we'll find the ArchData's. | |
| DatabaseCheckpointLoader (simdb::DatabaseManager *db_mgr, const std::vector< TreeNode * > &roots) | |
| Construct with multiple roots from which we'll find the ArchData's. | |
| uint64_t | getNumCheckpoints () const |
| Get the total number of committed checkpoints. | |
| void | loadCheckpoint (uint64_t checkpoint_idx) |
| Load a checkpoint with an index between [0,getNumCheckpoints()) | |
This class retrieves checkpoints from disk for post-simulation use cases.
Definition at line 155 of file CherryPickFastCheckpointer.hpp.
|
inline |
Construct with one root from which we'll find the ArchData's.
Definition at line 159 of file CherryPickFastCheckpointer.hpp.
|
inline |
Get the total number of committed checkpoints.
Definition at line 169 of file CherryPickFastCheckpointer.hpp.
|
inline |
Load a checkpoint with an index between [0,getNumCheckpoints())
| Throws | if index is out of range |
Definition at line 173 of file CherryPickFastCheckpointer.hpp.