at.dms.kjc.backendSupport
Class BufferSize
java.lang.Object
at.dms.kjc.backendSupport.BufferSize
public class BufferSize
- extends Object
Centralize calculation of buffer sizes
- Author:
- dimock refactored from mgordon
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 |
BufferSize
public BufferSize()
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: