at.dms.kjc.spacedynamic
Class RawWorkEstimator
java.lang.Object
at.dms.kjc.sir.EmptyStreamVisitor
at.dms.kjc.spacedynamic.RawWorkEstimator
- All Implemented Interfaces:
- StreamVisitor
public class RawWorkEstimator
- extends EmptyStreamVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
structures
public static SIRStructure[] structures
SIMULATING_WORK
public static boolean SIMULATING_WORK
- Global indicator that we're in the process of simulating work.
Avoids threading some information through multiple levels.
RawWorkEstimator
public RawWorkEstimator()
estimateWork
public static int estimateWork(SIRFilter oldFilter)
- Given a filter, run the work function on raw
and return the number of cycles for the work function
test
public static void test(SIRStream stream)
visitFilter
public void visitFilter(SIRFilter self,
SIRFilterIter iter)
- Description copied from class:
EmptyStreamVisitor
- PLAIN-VISITS
- Specified by:
visitFilter
in interface StreamVisitor
- Overrides:
visitFilter
in class EmptyStreamVisitor