StaticOrderSchedule Class Reference
#include <static_order_schedule.h>
Public Member Functions | |
StaticOrderSchedule () | |
~StaticOrderSchedule () | |
void | appendActor (SDFactor *a) |
void | appendScheduleEntry (StaticOrderScheduleEntry &s) |
StaticOrderScheduleEntryIter | insertActor (StaticOrderScheduleEntryIter position, SDFactor *a) |
StaticOrderScheduleEntryIter | getScheduleEntry (const uint i) |
uint | getStartPeriodicSchedule () |
void | setStartPeriodicSchedule (const uint i) |
uint | next (uint current) |
uint | previous (uint current) |
bool | isLast (uint current) const |
void | minimize () |
void | changeActorAssociations (SDFgraph *newGraph) |
CNode * | convertToXML () |
Private Attributes | |
uint | startPeriodicSchedule |
Detailed Description
Static-order schedule A static-order schedule provides a sequence of actor firings. The schedule may contain a cycle which makes it effectively an infinite schedule.
Constructor & Destructor Documentation
StaticOrderSchedule::StaticOrderSchedule | ( | ) | [inline] |
References startPeriodicSchedule.
StaticOrderSchedule::~StaticOrderSchedule | ( | ) | [inline] |
Member Function Documentation
void StaticOrderSchedule::appendActor | ( | SDFactor * | a | ) | [inline] |
void StaticOrderSchedule::appendScheduleEntry | ( | StaticOrderScheduleEntry & | s | ) | [inline] |
void StaticOrderSchedule::changeActorAssociations | ( | SDFgraph * | newGraph | ) |
changeActorAssociations () Change the associated actors in the schedule.
References SDFgraph::getActor(), and startPeriodicSchedule.
Referenced by LoadBalanceBinding::constructStaticOrderSchedules(), and LoadBalanceBinding::reconstructStaticOrderSchedules().
CNode * StaticOrderSchedule::convertToXML | ( | ) |
convertToXML () Convert the schedule to an XML representation.
References ASSERT, CAddAttribute(), CAddNode(), CNewNode(), getScheduleEntry(), and startPeriodicSchedule.
StaticOrderScheduleEntryIter StaticOrderSchedule::getScheduleEntry | ( | const uint | i | ) | [inline] |
Referenced by SDFconvertToHTML::convertPlatformMapping(), convertToXML(), and minimize().
uint StaticOrderSchedule::getStartPeriodicSchedule | ( | ) | [inline] |
References startPeriodicSchedule.
Referenced by SDFconvertToHTML::convertPlatformMapping(), minimize(), and next().
StaticOrderScheduleEntryIter StaticOrderSchedule::insertActor | ( | StaticOrderScheduleEntryIter | position, | |
SDFactor * | a | |||
) | [inline] |
References startPeriodicSchedule.
Referenced by BindingAwareSDFG::createMappedChannelToConnectionMPFlow().
bool StaticOrderSchedule::isLast | ( | uint | current | ) | const [inline] |
Referenced by minimize(), and next().
void StaticOrderSchedule::minimize | ( | ) |
minimize () The function returns a new static-order schedule in which the length of the current schedule is reduced as much as possible. This new schedule contains the smallest repeated part in the periodic phase of the schedule. From the transient phase, all complete repetitions of the periodic phase are removed. The schedule entries in the minimized schedule are assigned new id's once the minimization is completed.
References ASSERT, getScheduleEntry(), getStartPeriodicSchedule(), isLast(), next(), previous(), and setStartPeriodicSchedule().
Referenced by Binding::minimizeStaticOrderSchedules().
References getStartPeriodicSchedule(), and isLast().
Referenced by minimize().
Referenced by minimize().
void StaticOrderSchedule::setStartPeriodicSchedule | ( | const uint | i | ) | [inline] |
References startPeriodicSchedule.
Referenced by minimize(), and setMappingProcessor().
Member Data Documentation
The documentation for this class was generated from the following files: