44#ifndef __CPU_TRAFFIC_GEN_STRIDED_GEN_HH__
45#define __CPU_TRAFFIC_GEN_STRIDED_GEN_HH__
93 uint8_t read_percent,
Addr data_limit);
Declaration of the base generator class for all generators.
const Tick duration
Time to spend in this state.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Abstract superclass for simulation objects.
The strided 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.
StridedGen(SimObject &obj, RequestorID requestor_id, Tick duration, Addr cacheline_size, Addr start_addr, Addr end_addr, Addr offset, Addr block_size, Addr superblock_size, Addr stride_size, Tick min_period, Tick max_period, uint8_t read_percent, Addr data_limit)
Create a strided address sequence generator.
Addr nextAddr
Address of next request.
Tick nextPacketTick(bool elastic, Tick delay) const
Determine the tick when the next packet is available.
void enter()
Enter this generator state.
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.