gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::memory::BurstHelper Class Reference

A burst helper helps organize and manage a packet that is larger than the memory burst size. More...

#include <mem_ctrl.hh>

Public Member Functions

 BurstHelper (unsigned int _burstCount)
 

Public Attributes

const unsigned int burstCount
 Number of bursts requred for a system packet. More...
 
unsigned int burstsServiced
 Number of bursts serviced so far for a system packet. More...
 

Detailed Description

A burst helper helps organize and manage a packet that is larger than the memory burst size.

A system packet that is larger than the burst size is split into multiple packets and all those packets point to a single burst helper such that we know when the whole packet is served.

Definition at line 78 of file mem_ctrl.hh.

Constructor & Destructor Documentation

◆ BurstHelper()

gem5::memory::BurstHelper::BurstHelper ( unsigned int  _burstCount)
inline

Definition at line 88 of file mem_ctrl.hh.

Member Data Documentation

◆ burstCount

const unsigned int gem5::memory::BurstHelper::burstCount

Number of bursts requred for a system packet.

Definition at line 83 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::processRespondEvent().

◆ burstsServiced

unsigned int gem5::memory::BurstHelper::burstsServiced

Number of bursts serviced so far for a system packet.

Definition at line 86 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToReadQueue(), and gem5::memory::MemCtrl::processRespondEvent().


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

Generated on Tue Sep 21 2021 12:31:27 for gem5 by doxygen 1.8.17