gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
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 72 of file mem_ctrl.hh.

Constructor & Destructor Documentation

◆ BurstHelper()

BurstHelper::BurstHelper ( unsigned int  _burstCount)
inline

Definition at line 82 of file mem_ctrl.hh.

Member Data Documentation

◆ burstCount

const unsigned int BurstHelper::burstCount

Number of bursts requred for a system packet.

Definition at line 77 of file mem_ctrl.hh.

Referenced by MemCtrl::processRespondEvent().

◆ burstsServiced

unsigned int BurstHelper::burstsServiced

Number of bursts serviced so far for a system packet.

Definition at line 80 of file mem_ctrl.hh.

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


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

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