gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::SpatterKernel Class Reference

#include <utility_structs.hh>

Public Member Functions

 SpatterKernel (RequestorID requestor_id, uint32_t id, uint32_t delta, uint32_t count, SpatterKernelType type, size_t index_size, Addr base_index_addr, size_t value_size, Addr base_value_addr)
 
uint32_t id () const
 
void setIndices (const std::vector< uint32_t > &pattern)
 
SpatterKernelType type () const
 
bool done () const
 
SpatterAccessnextSpatterAccess ()
 

Private Types

typedef enums::SpatterKernelType SpatterKernelType
 
typedef SpatterAccess::AccessPair AccessPair
 

Private Attributes

RequestorID requestorId
 
uint32_t _id
 
uint32_t delta
 
uint32_t count
 
SpatterKernelType _type
 
size_t indexSize
 
Addr baseIndexAddr
 
size_t valueSize
 
Addr baseValueAddr
 
uint32_t index
 
uint32_t iteration
 
uint32_t remRolls
 
std::deque< uint32_t > indices
 

Detailed Description

Definition at line 158 of file utility_structs.hh.

Member Typedef Documentation

◆ AccessPair

◆ SpatterKernelType

typedef enums::SpatterKernelType gem5::SpatterKernel::SpatterKernelType
private

Definition at line 161 of file utility_structs.hh.

Constructor & Destructor Documentation

◆ SpatterKernel()

gem5::SpatterKernel::SpatterKernel ( RequestorID requestor_id,
uint32_t id,
uint32_t delta,
uint32_t count,
SpatterKernelType type,
size_t index_size,
Addr base_index_addr,
size_t value_size,
Addr base_value_addr )
inline

Definition at line 188 of file utility_structs.hh.

Member Function Documentation

◆ done()

bool gem5::SpatterKernel::done ( ) const
inline

Definition at line 213 of file utility_structs.hh.

References count, and iteration.

Referenced by gem5::SpatterGen::processNextGenEvent().

◆ id()

uint32_t gem5::SpatterKernel::id ( ) const
inline

Definition at line 203 of file utility_structs.hh.

References _id.

Referenced by gem5::SpatterGen::processNextGenEvent().

◆ nextSpatterAccess()

SpatterAccess * gem5::SpatterKernel::nextSpatterAccess ( )
inline

◆ setIndices()

void gem5::SpatterKernel::setIndices ( const std::vector< uint32_t > & pattern)
inline

Definition at line 205 of file utility_structs.hh.

References indices, and remRolls.

Referenced by gem5::SpatterGen::addKernel().

◆ type()

SpatterKernelType gem5::SpatterKernel::type ( ) const
inline

Definition at line 211 of file utility_structs.hh.

References _type.

Referenced by gem5::SpatterGen::processNextGenEvent().

Member Data Documentation

◆ _id

uint32_t gem5::SpatterKernel::_id
private

Definition at line 165 of file utility_structs.hh.

Referenced by id().

◆ _type

SpatterKernelType gem5::SpatterKernel::_type
private

Definition at line 169 of file utility_structs.hh.

Referenced by nextSpatterAccess(), and type().

◆ baseIndexAddr

Addr gem5::SpatterKernel::baseIndexAddr
private

Definition at line 172 of file utility_structs.hh.

Referenced by nextSpatterAccess().

◆ baseValueAddr

Addr gem5::SpatterKernel::baseValueAddr
private

Definition at line 175 of file utility_structs.hh.

Referenced by nextSpatterAccess().

◆ count

uint32_t gem5::SpatterKernel::count
private

Definition at line 167 of file utility_structs.hh.

Referenced by done().

◆ delta

uint32_t gem5::SpatterKernel::delta
private

Definition at line 166 of file utility_structs.hh.

Referenced by nextSpatterAccess().

◆ index

uint32_t gem5::SpatterKernel::index
private

Definition at line 178 of file utility_structs.hh.

Referenced by nextSpatterAccess().

◆ indexSize

size_t gem5::SpatterKernel::indexSize
private

Definition at line 171 of file utility_structs.hh.

Referenced by nextSpatterAccess().

◆ indices

std::deque<uint32_t> gem5::SpatterKernel::indices
private

Definition at line 184 of file utility_structs.hh.

Referenced by nextSpatterAccess(), and setIndices().

◆ iteration

uint32_t gem5::SpatterKernel::iteration
private

Definition at line 180 of file utility_structs.hh.

Referenced by done(), and nextSpatterAccess().

◆ remRolls

uint32_t gem5::SpatterKernel::remRolls
private

Definition at line 183 of file utility_structs.hh.

Referenced by nextSpatterAccess(), and setIndices().

◆ requestorId

RequestorID gem5::SpatterKernel::requestorId
private

Definition at line 164 of file utility_structs.hh.

Referenced by nextSpatterAccess().

◆ valueSize

size_t gem5::SpatterKernel::valueSize
private

Definition at line 174 of file utility_structs.hh.

Referenced by nextSpatterAccess().


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

Generated on Tue Jun 18 2024 16:24:14 for gem5 by doxygen 1.11.0