Otawa  0.10
otawa::QueueResource Class Reference

#include <otawa/parexegraph/Resource.h>

Inheritance diagram for otawa::QueueResource:
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

 QueueResource (elm::String name, ParExeQueue *queue, int slot, int index, StageResource *upper_bound, int num_stages)
 
ParExeQueuequeue ()
 
int slot ()
 
int uid ()
 
int offset ()
 
elm::String name ()
 
resource_type_t type ()
 
int index ()
 
void setIndex (int index)
 

Private Attributes

ParExeQueue_queue
 
int _slot
 
int _uid
 
int _offset
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
BLOCK_START 
STAGE 
QUEUE 
REG 
EXTERNAL_CONFLICT 
INTERNAL_CONFLICT 
RES_TYPE_NUM 

Constructor & Destructor Documentation

otawa::QueueResource::QueueResource ( elm::String  name,
ParExeQueue queue,
int  slot,
int  index,
StageResource upper_bound,
int  num_stages 
)
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(), QueueResource(), and otawa::Resource::setIndex().

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

References otawa::Resource::_name.

int otawa::QueueResource::offset ( void  )
inline

References _offset.

ParExeQueue* otawa::QueueResource::queue ( )
inline

References _queue.

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

References _slot.

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

References otawa::Resource::_type.

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

int otawa::QueueResource::uid ( )
inline

References _uid.

Member Data Documentation

int otawa::QueueResource::_offset
private

Referenced by offset(), and QueueResource().

ParExeQueue* otawa::QueueResource::_queue
private

Referenced by queue().

int otawa::QueueResource::_slot
private

Referenced by slot().

int otawa::QueueResource::_uid
private

Referenced by QueueResource(), and uid().


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