Go to the documentation of this file.
29 #ifndef __CPU_GARNET_SYNTHETIC_TRAFFIC_HH__
30 #define __CPU_GARNET_SYNTHETIC_TRAFFIC_HH__
36 #include "params/GarnetSyntheticTraffic.hh"
57 typedef GarnetSyntheticTrafficParams
Params;
146 #endif // __CPU_GARNET_SYNTHETIC_TRAFFIC_HH__
GarnetSyntheticTrafficParams Params
std::map< std::string, TrafficType > trafficStringToEnum
void printAddr(Addr a)
Print state of address in memory system via PrintReq (for debugging).
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
const PortID InvalidPortID
GarnetSyntheticTraffic * tester
uint64_t Tick
Tick count type.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
friend class MemCompleteEvent
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
GarnetSyntheticTrafficSenderState(uint8_t *_data)
Constructor.
CpuPort(const std::string &_name, GarnetSyntheticTraffic *_tester)
const Cycles responseLimit
A virtual base opaque structure used to hold state associated with the packet (e.g....
Ports are used to interface objects to each other.
GarnetSyntheticTraffic(const Params *p)
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
EventFunctionWrapper tickEvent
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void sendPkt(PacketPtr pkt)
Cycles is a wrapper class for representing cycle counts, i.e.
void completeRequest(PacketPtr pkt)
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
Generated on Wed Sep 30 2020 14:02:09 for gem5 by doxygen 1.8.17