Otawa  0.10
otawa::StageResource Class Reference

#include <otawa/parexegraph/Resource.h>

Inheritance diagram for otawa::StageResource:
otawa::Resource

Public Types

enum  resource_type_t {
  BLOCK_START, STAGE, QUEUE, REG,
  EXTERNAL_CONFLICT, INTERNAL_CONFLICT, RES_TYPE_NUM
}
 
typedef struct
otawa::Resource::input_t 
input_t
 

Public Member Functions

 StageResource (elm::String name, ParExeStage *stage, int slot, int index)
 
ParExeStagestage ()
 
int slot ()
 
elm::String name ()
 
resource_type_t type ()
 
int index ()
 
void setIndex (int index)
 

Private Attributes

ParExeStage_stage
 
int _slot
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
BLOCK_START 
STAGE 
QUEUE 
REG 
EXTERNAL_CONFLICT 
INTERNAL_CONFLICT 
RES_TYPE_NUM 

Constructor & Destructor Documentation

otawa::StageResource::StageResource ( elm::String  name,
ParExeStage stage,
int  slot,
int  index 
)
inline

Member Function Documentation

index Resource::index ( void  )
inlineinherited
Returns
Index of the resource (i.e. its rank in the list of resources related to a ParExeGraph).

References otawa::Resource::_index.

Referenced by otawa::ParExeGraph::clearDelays(), otawa::ParExeGraph::delta(), otawa::ParExeGraph::propagate(), otawa::QueueResource::QueueResource(), and otawa::Resource::setIndex().

elm::String Resource::name ( void  )
inlineinherited
Returns
Name of the resource.

References otawa::Resource::_name.

void otawa::Resource::setIndex ( int  index)
inlineinherited
int otawa::StageResource::slot ( )
inline

References _slot.

ParExeStage* otawa::StageResource::stage ( void  )
inline

References _stage.

Referenced by otawa::QueueResource::QueueResource().

resource_type_t Resource::type ( void  )
inlineinherited
Returns
Type of the resource.

References otawa::Resource::_type.

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

Member Data Documentation

int otawa::StageResource::_slot
private

Referenced by slot().

ParExeStage* otawa::StageResource::_stage
private

Referenced by stage().


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