49 #ifndef __CPU_TRAFFIC_GEN_LINEAR_GEN_HH__ 50 #define __CPU_TRAFFIC_GEN_LINEAR_GEN_HH__ 89 Addr _blocksize,
Addr cacheline_size,
91 uint8_t read_percent,
Addr data_limit)
92 :
StochasticGen(obj, master_id, _duration, start_addr, end_addr,
93 _blocksize, cacheline_size, min_period, max_period,
94 read_percent, data_limit),
The linear generator generates sequential requests from a start to an end address, with a fixed block size.
Addr nextAddr
Address of next request.
Tick nextPacketTick(bool elastic, Tick delay) const
Determine the tick when the next packet is available.
uint64_t Tick
Tick count type.
Declaration of the base generator class for all generators.
void enter()
Enter this generator state.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
Addr dataManipulated
Counter to determine the amount of data manipulated.
Declaration of the Packet class.
PacketPtr getNextPacket()
Get the next generated packet.
LinearGen(SimObject &obj, MasterID master_id, Tick _duration, Addr start_addr, Addr end_addr, Addr _blocksize, Addr cacheline_size, Tick min_period, Tick max_period, uint8_t read_percent, Addr data_limit)
Create a linear address sequence generator.
Abstract superclass for simulation objects.