29#ifndef __SIM_EXIT_HH__
30#define __SIM_EXIT_HH__
50void exitSimLoop(
const std::string &message,
int exit_code = 0,
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Tick curTick()
The universal simulation clock.
uint64_t Tick
Tick count type.
void exitSimLoop(const std::string &message, int exit_code, Tick when, Tick repeat, bool serialize)
Schedule an event to exit the simulation loop (returning to Python) at the end of the current cycle (...
void serialize(const ThreadContext &tc, CheckpointOut &cp)
Thread context serialization helpers.
void registerExitCallback(const std::function< void()> &callback)
Register an exit callback.
void exitSimLoopNow(const std::string &message, int exit_code, Tick repeat, bool serialize)
Schedule an event as above, but make it high priority so it runs before any normal events which are s...