42 #include "debug/TrafficGen.hh" 50 "terminate the simulation.\n",
name());
52 "terminate the simulation.\n");
58 panic(
"Simulation should have exited");
#define panic(...)
This implements a cprintf based panic() function.
Tick nextPacketTick(bool elastic, Tick delay) const
Determine the tick when the next packet is available.
PacketPtr getNextPacket()
Get the next generated packet.
The traffic generator is a master module that generates stimuli for the memory system, based on a collection of simple behaviours that are either probabilistic or based on traces.
uint64_t Tick
Tick count type.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
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 enter()
Enter this generator state.
Declaration of the exit generator that ends the simulation.
std::string name() const
Get the name, useful for DPRINTFs.