mirror of
https://github.com/nasa/trick.git
synced 2025-06-14 13:18:21 +00:00
Test and Document STL Checkpointing (#1355)
* Updates SIM_stl to include checkpoint writing and checkpoint restore, as well as adding more data structures to test * Thoroughly tests supported STL types with MM_stl_checkpoint and MM_stl_restore * Adds an option to enable or disable STL restore in accessible interfaces and changes default to true * Updates documentation on STL checkpointing to clearly state limitations and known bugs
This commit is contained in:
@ -23,6 +23,14 @@ trick.checkpoint_cpu(<cpu_num>)
|
||||
trick.checkpoint_safestore_set_enabled(True|False)
|
||||
# Set the safestore checkpoint period. default 9x10e18
|
||||
trick.checkpoint_safestore(<period>)
|
||||
|
||||
# Load a checkpoint
|
||||
trick.load_checkpoint(<filename>)
|
||||
# Load a checkpoint without restoring STLs
|
||||
trick.load_checkpoint(<filename>, False)
|
||||
# Force the load_checkpoint job to run immediately
|
||||
trick.load_checkpoint_job()
|
||||
|
||||
```
|
||||
|
||||
[Continue to Memory Manager](memory_manager/MemoryManager)
|
||||
|
Reference in New Issue
Block a user