Otawa  0.10
otawa::hard::PipelineUnit Class Reference

#include <otawa/hard/Processor.h>

Inheritance diagram for otawa::hard::PipelineUnit:
otawa::hard::FunctionalUnit otawa::hard::Stage

Public Member Functions

 PipelineUnit (void)
 
virtual ~PipelineUnit (void)
 
elm::String getName (void) const
 
int getLatency (void) const
 
int getWidth (void) const
 
bool isBranch (void) const
 
bool isMem (void) const
 

Protected Attributes

string name
 
int latency
 
int width
 
bool branch
 
bool mem
 

Private Member Functions

 SERIALIZABLE (otawa::hard::PipelineUnit, FIELD(name)&FIELD(latency)&FIELD(width)&FIELD(branch)&FIELD(mem))
 

Constructor & Destructor Documentation

otawa::hard::PipelineUnit::PipelineUnit ( void  )
inline
virtual otawa::hard::PipelineUnit::~PipelineUnit ( void  )
inlinevirtual

Member Function Documentation

int otawa::hard::PipelineUnit::getLatency ( void  ) const
inline
elm::String otawa::hard::PipelineUnit::getName ( void  ) const
inline

References name.

Referenced by otawa::ParExeProc::ParExeProc().

int otawa::hard::PipelineUnit::getWidth ( void  ) const
inline

References width().

Referenced by otawa::ParExeProc::ParExeProc().

bool otawa::hard::PipelineUnit::isBranch ( void  ) const
inline

References otawa::sem::branch().

bool otawa::hard::PipelineUnit::isMem ( void  ) const
inline
otawa::hard::PipelineUnit::SERIALIZABLE ( otawa::hard::PipelineUnit  ,
FIELD(name)&FIELD(latency)&FIELD(width)&FIELD(branch)&FIELD(mem  
)
private

Member Data Documentation

bool otawa::hard::PipelineUnit::branch
protected
int otawa::hard::PipelineUnit::latency
protected
bool otawa::hard::PipelineUnit::mem
protected
int otawa::hard::PipelineUnit::width
protected

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