at.dms.kjc.backendSupport
Class SpaceTimeScheduleAndPartitioner
java.lang.Object
at.dms.kjc.spacetime.BasicSpaceTimeSchedule
at.dms.kjc.backendSupport.SpaceTimeScheduleAndPartitioner
- Direct Known Subclasses:
- SpaceTimeSchedule
public class SpaceTimeScheduleAndPartitioner
- extends BasicSpaceTimeSchedule
Extend BasicSpaceTimeSchedule by storing a partitioner.
BasicSpaceTimeSchedule collects initialization schedule, prime-pump schedule
and steady-state schedule in one place.
This is purely a data structure: it is operated on by
other classes to generate these schedules.
It is convenient for classes performing layout to keep the partitioner with
the schedule. The partitioner supplies the initial slice graph and includes
a map from filters to the amount of work that they perform, which is needed
to partition.
- Author:
- mgordon (refactored dimock)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceTimeScheduleAndPartitioner
public SpaceTimeScheduleAndPartitioner(Partitioner partitioner)
outputsPerSteady
public int outputsPerSteady()
- Return the number of outputs that are written to file writers during the
steady-state.
- Returns:
- the number of outputs that are written to file writers during the
steady-state.
setPartitioner
public void setPartitioner(Partitioner partitioner)
- Parameters:
partitioner
-
getPartitioner
public Partitioner getPartitioner()
- Returns:
- the partitioner associated with this schedule.