44#ifndef __CPU_TRAFFIC_GEN_RANDOM_GEN_HH__
45#define __CPU_TRAFFIC_GEN_RANDOM_GEN_HH__
85 Addr _blocksize,
Addr cacheline_size,
87 uint8_t read_percent,
Addr data_limit)
88 :
StochasticGen(obj, requestor_id, _duration, start_addr, end_addr,
89 _blocksize, cacheline_size, min_period, max_period,
90 read_percent, data_limit),
Declaration of the base generator class for all generators.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
The random generator is similar to the linear one, but does not generate sequential addresses.
PacketPtr getNextPacket()
Get the next generated packet.
Addr dataManipulated
Counter to determine the amount of data manipulated.
Tick nextPacketTick(bool elastic, Tick delay) const
Determine the tick when the next packet is available.
RandomGen(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 random address sequence generator.
void enter()
Enter this generator state.
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.