Otawa  0.10
otawa::ParExePipeline Class Reference

Representation of a pipeline (list of stages). More...

#include <otawa/parexegraph/ParExeProc.h>

Classes

class  StageIterator
 

Public Member Functions

 ParExePipeline ()
 
 ~ParExePipeline ()
 
ParExeStagelastStage ()
 
ParExeStagefirstStage ()
 
void addStage (ParExeStage *stage)
 Adds a stage to the pipeline. More...
 
int numStages ()
 

Protected Attributes

elm::genstruct::Vector
< ParExeStage * > 
_stages
 

Private Attributes

ParExeStage_last_stage
 
ParExeStage_first_stage
 

Detailed Description

Representation of a pipeline (list of stages).

See also
Parametric Execution Graph

Constructor & Destructor Documentation

otawa::ParExePipeline::ParExePipeline ( )
inline
otawa::ParExePipeline::~ParExePipeline ( )
inline

Member Function Documentation

void otawa::ParExePipeline::addStage ( ParExeStage stage)
inline

Adds a stage to the pipeline.

Stages must be added in the pipeline order.

Parameters
Pointerto the stage to be added.

References otawa::ParExeStage::destinationQueue(), otawa::ParExeQueue::setEmptyingStage(), otawa::ParExeQueue::setFillingStage(), and otawa::ParExeStage::sourceQueue().

Referenced by otawa::ParExeStage::addFunctionalUnit(), and otawa::ParExeProc::ParExeProc().

ParExeStage * otawa::ParExePipeline::lastStage ( )
inline
Returns
Pointer to the last stage.
int otawa::ParExePipeline::numStages ( )
inline

Member Data Documentation

ParExeStage* otawa::ParExePipeline::_first_stage
private
ParExeStage* otawa::ParExePipeline::_last_stage
private
elm::genstruct::Vector<ParExeStage *> otawa::ParExePipeline::_stages
protected

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