at.dms.kjc.slicegraph
Class FlattenAndPartition
java.lang.Object
at.dms.kjc.slicegraph.Partitioner
at.dms.kjc.slicegraph.FlattenAndPartition
public class FlattenAndPartition
- extends Partitioner
Convert SIR graph to Slice without synch removal.
Partitions as one filter per Slice.
- Author:
- mgordon
Fields inherited from class at.dms.kjc.slicegraph.Partitioner |
bottleNeckFilter, exeCounts, filterOccupancy, filterStartupCost, genIdWorks, io, lfa, maxPartitions, sirToContent, sliceBNWork, sliceGraph, steadyMult, topFilters, topSlices, work, workEstimation |
Methods inherited from class at.dms.kjc.slicegraph.Partitioner |
addFilterToSlice, calculateWorkStats, containsSlice, createPredefinedContent, dumpGraph, ensureSimpleSlices, getContent, getFilterContent, getFilterOccupancy, getFilterStartupCost, getFilterWork, getFilterWorkSteadyMult, getNext, getSliceBNFilter, getSliceBNWork, getSliceGraph, getTopSlices, getWorkEstimate, getWorkEstOneFiring, isIO, setSliceGraphNewIds, sliceName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlattenAndPartition
public FlattenAndPartition(UnflatFilter[] topFilters,
HashMap[] exeCounts,
LinearAnalyzer lfa,
WorkEstimate work,
int maxPartitions)
partition
public Slice[] partition()
- Description copied from class:
Partitioner
- Partition the stream graph into slices (slices) and return the slices.
- Specified by:
partition
in class Partitioner
- Returns:
- The slices (slices) of the partitioned graph.
flatten
public void flatten(SIRStream str,
HashMap[] exeCounts)