Go to the documentation of this file.
56 const std::string &_cause,
59 cause(_cause), code(
c), repeat(
r)
66 cause(_cause), code(
c), repeat(
r)
73 return "global simulation loop exit";
92 "exitSimLoop called with a delay and auto serialization. This is "
93 "currently unsupported.");
107 :
Event(Sim_Exit_Pri, IsExitEvent),
108 cause(_cause), code(
c), repeat(
r)
125 return "simulation loop exit";
152 :
Event(Sim_Exit_Pri), cause(_cause), downCounter(counter)
174 return "counted exit";
void serialize(CheckpointOut &cp) const override
Serialize an object.
Tick curTick()
The universal simulation clock.
CountedExitEvent(const std::string &_cause, int &_downCounter)
#define UNSERIALIZE_SCALAR(scalar)
GlobalSimLoopExitEvent(Tick when, const std::string &_cause, int c, Tick repeat=0)
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...
void unserialize(CheckpointIn &cp) override
Unserialize an object.
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 (...
uint64_t Tick
Tick count type.
Tick simQuantum
Simulation Quantum for multiple eventq simulation.
const char * description() const override
Return a C string describing the event.
void serialize(const ThreadContext &tc, CheckpointOut &cp)
Thread context serialization helpers.
const char * description() const override
Return a C string describing the event.
The main global event class.
#define SERIALIZE_SCALAR(scalar)
virtual const char * description() const
#define warn_if(cond,...)
Conditional warning macro that checks the supplied condition and only prints a warning if the conditi...
void serialize(CheckpointOut &cp) const override
Serialize an object.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
std::ostream CheckpointOut
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:57:00 for gem5 by doxygen 1.8.17