at.dms.kjc.spacetime
Class CompCommRatio
java.lang.Object
at.dms.kjc.spacetime.CompCommRatio
public class CompCommRatio
- extends Object
Calculate the computation to communication ratio. Poorly named class,
the name should be CompCommRatio.
- Author:
- mgordon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompCommRatio
public CompCommRatio()
ratio
public static double ratio(SIRStream str,
WorkEstimate work,
HashMap<SIRStream,int[]> executionCounts)
ratio
public static double ratio(Partitioner partitioner)
- Calculate the computation to communication ratio of the
application. Where the computation is total work of all the filters
in the steady-state and the communication is the
number of items sent between slices.
- Parameters:
partitioner
- The partitioner we used to slice the graph.
- Returns:
- The computation to communication ratio.