#include <functional>
#include <string>
#include "base/types.hh"
Go to the source code of this file.
|
| Tick | gem5::curTick () |
| | The universal simulation clock.
|
| |
| void | gem5::registerExitCallback (const std::function< void()> &callback) |
| | Register an exit callback.
|
| |
| void | gem5::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 (curTick()).
|
| |
| void | gem5::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 schedule at the current time.
|
| |