#include <actor.h>

Inheritance diagram for TimedSDFactor:
Collaboration diagram for TimedSDFactor:

List of all members.

Classes

struct  _Processor

Public Types

typedef struct
TimedSDFactor::_Processor 
Processor
typedef list< Processor * > Processors
typedef Processors::iterator ProcessorsIter
typedef Processors::const_iterator ProcessorsCIter

Public Member Functions

 TimedSDFactor (SDFcomponent &c)
 ~TimedSDFactor ()
TimedSDFactorcreate (SDFcomponent &c) const
TimedSDFactorcreateCopy (SDFcomponent &c) const
TimedSDFactorclone (SDFcomponent &c) const
void setProperties (const CNodePtr propertiesNode)
SDFtime getExecutionTime ()
SDFtime getExecutionTime (const CString &proc)
CSize getStateSize ()
CSize getStateSize (const CString &proc)
ProcessorgetProcessor (const CString &proc)
ProcessoraddProcessor (const CString &proc)
void addProcessor (const Processor *p)
void removeProcessor (const CString &proc)
uint nrProcessors () const
ProcessorsIter processorsBegin ()
ProcessorsCIter processorsBegin () const
ProcessorsIter processorsEnd ()
ProcessorsCIter processorsEnd () const
CString getDefaultProcessor () const
void setDefaultProcessor (const CString &p)
ostream & print (ostream &out)

Private Attributes

Processors processors
CString defaultProcessor

Friends

ostream & operator<< (ostream &out, TimedSDFactor &a)

Detailed Description

Timed SDFactor Timed actor in SDF graph


Member Typedef Documentation

typedef Processors::const_iterator TimedSDFactor::ProcessorsCIter
typedef Processors::iterator TimedSDFactor::ProcessorsIter

Constructor & Destructor Documentation

TimedSDFactor::TimedSDFactor ( SDFcomponent c  ) 

TimedSDFactor () Constructor.

Referenced by create(), and createCopy().

TimedSDFactor::~TimedSDFactor (  ) 

~TimedSDFactor () Destructor.

References processorsBegin(), and processorsEnd().

Here is the call graph for this function:


Member Function Documentation

void TimedSDFactor::addProcessor ( const Processor p  ) 

addProcessor () Add a processor type to the list of processor types the actor can be mapped to. A reference to the properties container for the processor is returned.

References TimedSDFactor::_Processor::execTime, getProcessor(), processors, TimedSDFactor::_Processor::stateSize, and TimedSDFactor::_Processor::type.

Here is the call graph for this function:

TimedSDFactor * TimedSDFactor::clone ( SDFcomponent c  )  const [virtual]

clone () The function returns a pointer to a newly allocated SDF actor object. The properties of this actor are also assigned to the new actor. The ports are also cloned.

Reimplemented from SDFactor.

References a, SDFactor::addPort(), SDFport::clone(), component, createCopy(), SDFactor::nrPorts(), SDFactor::portsBegin(), SDFactor::portsEnd(), and SDFcomponent::SDFcomponent().

Here is the call graph for this function:

TimedSDFactor * TimedSDFactor::create ( SDFcomponent c  )  const [virtual]

create () The function returns a pointer to a newly allocated SDF actor object.

Reimplemented from SDFactor.

References TimedSDFactor().

Here is the call graph for this function:

TimedSDFactor * TimedSDFactor::createCopy ( SDFcomponent c  )  const [virtual]

createCopy () The function returns a pointer to a newly allocated SDF actor object. The properties of this actor are also assigned to the new actor.

Reimplemented from SDFactor.

References a, addProcessor(), getDefaultProcessor(), SDFcomponent::getName(), SDFactor::getType(), processorsBegin(), processorsEnd(), setDefaultProcessor(), SDFcomponent::setName(), SDFactor::setType(), and TimedSDFactor().

Referenced by clone().

Here is the call graph for this function:

CString TimedSDFactor::getDefaultProcessor (  )  const [inline]
SDFtime TimedSDFactor::getExecutionTime (  ) 

getExecutionTime () The function returns the execution time of the actor on the default processor.

References defaultProcessor, TimedSDFactor::_Processor::execTime, processorsBegin(), processorsEnd(), and TimedSDFactor::_Processor::type.

Referenced by analyzePeriodicPhase(), analyzeSDFG(), SDFstateSpaceMinimalLatencyAnalysis::analyzeSingleProc(), SDFstateSpaceStaticPeriodicSchedulerChao::computeSchedule(), SDFstateSpaceBindingAwareThroughputAnalysis::TransitionSystem::computeTileUtilization(), createCapacityConstrainedModel(), BindingAwareSDFG::createMappedActorMPFlow(), BindingAwareSDFG::createMappedActorNSoC(), execSDFgraph(), getLbOutputInterval(), getMaxExecTime(), getMaximumExecTime(), MaxPlusAnalysis::GraphDecoration::Graph::Graph(), maximumCycleMeanCycle(), modelCapacityConstrainedBuffer(), printAnalyzePeriodicPhase(), printExecSdfGraph(), printSdfGraph(), LoadBalanceBinding::sortTilesOnCommunicationOverhead(), SDFstateSpaceBindingAwareThroughputAnalysis::TransitionSystem::startActorFiring(), SDFstateSpaceStaticPeriodicSchedulerChao::TransitionSystem::startActorFiring(), SDFstateSpaceStaticPeriodicScheduler::TransitionSystem::startActorFiring(), SDFstateSpaceThroughputAnalysisNingGao::TransitionSystem::startActorFiring(), SDFstateSpaceThroughputAnalysis::TransitionSystem::startActorFiring(), SDFstateSpaceSelfTimedMinimalLatencyAnalysis::TransitionSystem::startActorFiring(), SDFstateSpaceSelfTimedLatencyAnalysis::TransitionSystem::startActorFiring(), SDFstateSpacePriorityListScheduler::TransitionSystem::startActorFiring(), SDFstateSpaceMinimalLatencyAnalysis::TransitionSystem::startActorFiring(), SDFstateSpaceListScheduler::TransitionSystem::startActorFiring(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::startActorFiring(), SDFstateSpaceBufferAnalysisNingGao::TransitionSystem::startActorFiring(), startActorFiring(), SDFstateSpaceBufferAnalysis::TransitionSystem::startActorFiring(), SDFstateSpaceBindingAwareBufferAnalysis::TransitionSystem::startActorFiring(), and transformHSDFtoAPG().

Here is the call graph for this function:

SDFtime TimedSDFactor::getExecutionTime ( const CString proc  ) 

getExecutionTime () The function returns the execution time of the actor on the processor.

References TimedSDFactor::_Processor::execTime, processorsBegin(), processorsEnd(), and TimedSDFactor::_Processor::type.

Here is the call graph for this function:

TimedSDFactor::Processor * TimedSDFactor::getProcessor ( const CString proc  ) 

getProcessor () Get properties of actor for specified processor type

References processorsBegin(), processorsEnd(), and TimedSDFactor::_Processor::type.

Referenced by LoadBalanceBinding::actorLoadOnTile(), addProcessor(), Processor::bindActor(), LoadBalanceBinding::sortTilesOnCommunicationOverhead(), and LoadBalanceBinding::sortTilesOnLoad().

Here is the call graph for this function:

CSize TimedSDFactor::getStateSize ( const CString proc  ) 

getStateSize () The function returns the state size of the actor on the processor.

References processorsBegin(), processorsEnd(), TimedSDFactor::_Processor::stateSize, and TimedSDFactor::_Processor::type.

Here is the call graph for this function:

CSize TimedSDFactor::getStateSize (  ) 

getStateSize () The function returns the state size of the actor on the default processor.

References CSIZE_MAX, defaultProcessor, processorsBegin(), processorsEnd(), TimedSDFactor::_Processor::stateSize, and TimedSDFactor::_Processor::type.

Referenced by LoadBalanceBinding::allocateResources().

Here is the call graph for this function:

uint TimedSDFactor::nrProcessors (  )  const [inline]
ostream & TimedSDFactor::print ( ostream &  out  ) 
ProcessorsCIter TimedSDFactor::processorsBegin (  )  const [inline]

References processors.

ProcessorsCIter TimedSDFactor::processorsEnd (  )  const [inline]

References processors.

void TimedSDFactor::removeProcessor ( const CString proc  ) 

removeProcessor () Remove a processor type from the list of processor types the actor can be mapped to.

References processors, processorsBegin(), processorsEnd(), and TimedSDFactor::_Processor::type.

Referenced by generateSDFgraphProperties().

Here is the call graph for this function:

void TimedSDFactor::setProperties ( const CNodePtr  propertiesNode  ) 

Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
TimedSDFactor a 
) [friend]

Member Data Documentation


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