Otawa  0.10
otawa::ParExeQueue Class Reference

Representation of a hardware instruction queue to be used to build a ParExeGraph. More...

#include <otawa/parexegraph/ParExeProc.h>

Public Member Functions

 ParExeQueue (elm::String name, int size)
 Constructor. More...
 
elm::String name (void)
 
int size (void)
 
ParExeStagefillingStage (void)
 
ParExeStageemptyingStage (void)
 
void setFillingStage (ParExeStage *stage)
 
void setEmptyingStage (ParExeStage *stage)
 

Private Attributes

elm::String _name
 
int _size
 
ParExeStage_filling_stage
 
ParExeStage_emptying_stage
 

Detailed Description

Representation of a hardware instruction queue to be used to build a ParExeGraph.

See also
Parametric Execution Graph

Constructor & Destructor Documentation

otawa::ParExeQueue::ParExeQueue ( elm::String  name,
int  size 
)
inline

Constructor.

Parameters
nameName of the queue (used for debugging purposes)
sizeCapacity (number of instructions) of the queue.

Member Function Documentation

ParExeStage * otawa::ParExeQueue::emptyingStage ( void  )
inline
Returns
Pointer to the pipeline stage (ParExeStage) that gets instructions from the queue.
ParExeStage * otawa::ParExeQueue::fillingStage ( void  )
inline
Returns
Pointer to the pipeline stage (ParExeStage) that puts instructions into the queue.

Referenced by otawa::ParExeGraph::addEdgesForQueues(), and otawa::ParExeGraph::initDelays().

elm::String otawa::ParExeQueue::name ( void  )
inline
Returns
Name of the queue.

Referenced by otawa::ParExeGraph::addEdgesForQueues().

void otawa::ParExeQueue::setEmptyingStage ( ParExeStage stage)
inline
void otawa::ParExeQueue::setFillingStage ( ParExeStage stage)
inline
int otawa::ParExeQueue::size ( void  )
inline
Returns
Size (capacity) of the queue.

Referenced by otawa::ParExeGraph::addEdgesForQueues().

Member Data Documentation

ParExeStage* otawa::ParExeQueue::_emptying_stage
private
ParExeStage* otawa::ParExeQueue::_filling_stage
private
elm::String otawa::ParExeQueue::_name
private
int otawa::ParExeQueue::_size
private

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