#include "sim/sim_events.hh"
#include <string>
#include "base/callback.hh"
#include "sim/eventq.hh"
#include "sim/sim_exit.hh"
#include "sim/stats.hh"
Go to the source code of this file.
|
namespace | gem5 |
| Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
|
|
|
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.
|
|