void serialize(const ThreadContext &tc, CheckpointOut &cp)
Thread context serialization helpers.
void exitSimLoop(const std::string &message, int exit_code=0, Tick when=curTick(), Tick repeat=0, bool serialize=false)
Schedule an event to exit the simulation loop (returning to Python) at the end of the current cycle (...
void exitSimLoopNow(const std::string &message, int exit_code=0, Tick repeat=0, bool serialize=false)
Schedule an event as above, but make it high priority so it runs before any normal events which are s...