at.dms.kjc.backendSupport
Class SpaceTimeScheduleAndPartitioner

java.lang.Object
  extended by at.dms.kjc.spacetime.BasicSpaceTimeSchedule
      extended by 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)

Constructor Summary
SpaceTimeScheduleAndPartitioner(Partitioner partitioner)
           
 
Method Summary
 Partitioner getPartitioner()
           
 int outputsPerSteady()
          Return the number of outputs that are written to file writers during the steady-state.
 void setPartitioner(Partitioner partitioner)
           
 
Methods inherited from class at.dms.kjc.spacetime.BasicSpaceTimeSchedule
getInitSchedule, getPrimePumpMult, getPrimePumpSchedule, getPrimePumpScheduleFlat, getPrimePumpTotalMult, getSchedule, getScheduleList, setInitSchedule, setPrimePumpSchedule, setSchedule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceTimeScheduleAndPartitioner

public SpaceTimeScheduleAndPartitioner(Partitioner partitioner)
Method Detail

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.