|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapss.dif.csdf.sdf.sched.CDPPOStrategy
public class CDPPOStrategy
The DPPO for code size optimization. CDPPO is an adapted DPPO approach to minimize code size for arbitrary, not restricted to single appearance, schedules. CDPPO does NOT require an SDF graph as input. The primary input is an schedule, no matter flattened or hierarchicaly looped. Therefore, the input data is potentially large, even in exponential order of the associated SDF graph. For more details about CDPPO, please reference
"Renesting Single Appearance Schedules to Minimize Buffer Memory" by S. S. Bhattacharyya, P. K. Murthy, and E. A. Lee. Memo UCB/ERL M95/43, Electronics Research Lab., UC Berkeley, April 1995.
or
"Multidimensional exploration of software implementations for DSP algorithms" by E. Zitzler, J. Teich, and S. S. Bhattacharyya. Journal of VLSI Signal Processing Systems for Signal, Image, and Video Technology, pages 83-98, February 2000.
CAUTION: This class does NOT extend DPPOStrategy
nor
DIFScheduleStrategy
.
Constructor Summary | |
---|---|
CDPPOStrategy(java.util.List objectList)
Constructor for an arbitrary list of objects. |
|
CDPPOStrategy(mocgraph.sched.ScheduleElement schedule)
Constructor for a schedule. |
|
CDPPOStrategy(mocgraph.sched.ScheduleElement schedule,
java.util.Map actorSizeMap,
int loopSize)
Constructor for a given graph, a list of actor firings, map for actors to their code sizes, and code size for loops. |
Method Summary | |
---|---|
protected boolean |
_compareScheduleBody(mocgraph.sched.ScheduleElement s1,
mocgraph.sched.ScheduleElement s2)
Compare the top-level schedule loops' bodies of two schedules. |
protected void |
_optimumFor(int i,
int j)
The optimal results along the elements with index i to j. |
protected CDPPOTableElement |
_tableElement(int i,
int j)
Get the element of the CDPPO table. |
int |
codeSize()
Return the optimum code size of the CDPPO computation. |
mocgraph.sched.Schedule |
schedule()
Construct an SDF schedule from the DPPO computation. |
java.lang.String |
toString()
A desrciption of the scheduler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CDPPOStrategy(java.util.List objectList)
objectList
- The list of objects.public CDPPOStrategy(mocgraph.sched.ScheduleElement schedule)
actorFirings
- The actor firing sequence.public CDPPOStrategy(mocgraph.sched.ScheduleElement schedule, java.util.Map actorSizeMap, int loopSize)
graph
- The given SDF graph.actorFirings
- The actor firing sequence.Method Detail |
---|
public int codeSize()
public mocgraph.sched.Schedule schedule()
public java.lang.String toString()
toString
in class java.lang.Object
protected boolean _compareScheduleBody(mocgraph.sched.ScheduleElement s1, mocgraph.sched.ScheduleElement s2)
DIFScheduleUtilities.compareScheduleByActorFirings(
ScheduleElement, ScheduleElement)
.
s1
- The first schedule.s2
- The second schedule.
protected void _optimumFor(int i, int j)
i
- The element with index i.j
- The element with index j.protected CDPPOTableElement _tableElement(int i, int j)
i
- The index of the starting (left) nodej
- The index of the ending (right) node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |