gem5  v20.1.0.0
Public Member Functions | List of all members
FixedStreamGen Class Reference

#include <stream_gen.hh>

Inheritance diagram for FixedStreamGen:
StreamGen

Public Member Functions

 FixedStreamGen (const BaseTrafficGenParams *p)
 
uint32_t pickStreamID () override
 
uint32_t pickSubStreamID () override
 
- Public Member Functions inherited from StreamGen
virtual ~StreamGen ()
 
bool ssidValid () const
 Returns true if the substreamID generation is valid and hence should be taken into account. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from StreamGen
static StreamGencreate (const BaseTrafficGenParams *p)
 Factory method for constructing a Stream generator. More...
 
- Protected Member Functions inherited from StreamGen
 StreamGen (const BaseTrafficGenParams *p)
 
- Protected Attributes inherited from StreamGen
std::vector< uint32_t > streamIds
 Store preset Stream and Substream IDs to use for requests This is the set of available streamIDs the generator can pick. More...
 
std::vector< uint32_t > substreamIds
 

Detailed Description

Definition at line 102 of file stream_gen.hh.

Constructor & Destructor Documentation

◆ FixedStreamGen()

FixedStreamGen::FixedStreamGen ( const BaseTrafficGenParams *  p)
inline

Definition at line 105 of file stream_gen.hh.

References fatal_if, StreamGen::streamIds, and StreamGen::substreamIds.

Member Function Documentation

◆ pickStreamID()

uint32_t FixedStreamGen::pickStreamID ( )
inlineoverridevirtual

Implements StreamGen.

Definition at line 114 of file stream_gen.hh.

References StreamGen::streamIds.

◆ pickSubStreamID()

uint32_t FixedStreamGen::pickSubStreamID ( )
inlineoverridevirtual

Implements StreamGen.

Definition at line 117 of file stream_gen.hh.

References StreamGen::substreamIds.


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 2020 14:02:24 for gem5 by doxygen 1.8.17