at.dms.kjc.backendSupport
Class BufferSize

java.lang.Object
  extended by at.dms.kjc.backendSupport.BufferSize

public class BufferSize
extends Object

Centralize calculation of buffer sizes

Author:
dimock refactored from mgordon

Constructor Summary
BufferSize()
           
 
Method Summary
static int calculateSize(Edge theEdge)
          Return the number of items passing over an edge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferSize

public BufferSize()
Method Detail

calculateSize

public static int calculateSize(Edge theEdge)
Return the number of items passing over an edge. This is the max of the number that can pass in the init phase and the number that can pass in the steady state phase.

Parameters:
theEdge -
Returns: