44#ifndef __CPU_TRAFFIC_GEN_LINEAR_GEN_HH__
45#define __CPU_TRAFFIC_GEN_LINEAR_GEN_HH__
87 Addr _blocksize,
Addr cacheline_size,
89 uint8_t read_percent,
Addr data_limit)
90 :
StochasticGen(obj, requestor_id, _duration, start_addr, end_addr,
91 _blocksize, cacheline_size, min_period, max_period,
92 read_percent, data_limit),
Declaration of the base generator class for all generators.
The linear generator generates sequential requests from a start to an end address,...
Addr dataManipulated
Counter to determine the amount of data manipulated.
PacketPtr getNextPacket()
Get the next generated packet.
Addr nextAddr
Address of next request.
LinearGen(SimObject &obj, RequestorID requestor_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.
void enter()
Enter this generator state.
Tick nextPacketTick(bool elastic, Tick delay) const
Determine the tick when the next packet is available.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Abstract superclass for simulation objects.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint64_t Tick
Tick count type.
Declaration of the Packet class.