Go to the documentation of this file.
40 #include "debug/TrafficGen.hh"
51 "terminate the simulation.\n",
name());
53 "terminate the simulation.\n");
59 panic(
"Simulation should have exited");
Tick nextPacketTick(bool elastic, Tick delay) const
Determine the tick when the next packet is available.
std::string name() const
Get the name, useful for DPRINTFs.
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 (...
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint64_t Tick
Tick count type.
PacketPtr getNextPacket()
Get the next generated packet.
void enter()
Enter this generator state.
The traffic generator is a module that generates stimuli for the memory system, based on a collection...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
#define panic(...)
This implements a cprintf based panic() function.
Generated on Sat Jun 18 2022 08:12:22 for gem5 by doxygen 1.8.17