Otawa
0.10
|
#include <otawa/parexegraph/Resource.h>
Classes | |
struct | input_t |
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 | |
Resource (elm::String name, resource_type_t type, int index) | |
elm::String | name () |
resource_type_t | type () |
int | index () |
void | setIndex (int index) |
Private Attributes | |
elm::String | _name |
resource_type_t | _type |
int | _index |
typedef struct otawa::Resource::input_t otawa::Resource::input_t |
|
inline |
name | Resource name (used for debugging purposes). |
type | Resource type |
index | Resource rank in the list of resources attached to a ParExeGraph. Resources are numbered in the order they are created. |
|
inline |
References _index.
Referenced by otawa::ParExeGraph::clearDelays(), otawa::ParExeGraph::delta(), otawa::ParExeGraph::propagate(), otawa::QueueResource::QueueResource(), and setIndex().
|
inline |
References _name.
|
inline |
|
private |
Referenced by index(), and setIndex().
|
private |
Referenced by name().
|
private |
Referenced by type().