at.dms.kjc.spacedynamic
Class BCFile

java.lang.Object
  extended by at.dms.kjc.spacedynamic.BCFile

public class BCFile
extends Object

This class creates the bC machine file for the raw simulator that will describe any file I/O and generate automatic performance gathering code.

Author:
mgordon

Constructor Summary
BCFile()
           
 
Method Summary
static void generate(SpdStreamGraph streamGraph, HashSet<ComputeNode> computeTiles)
          Create the bC machine file for the raw simulator that will describe any file I/O and generate automatic performance gathering code.
static int getTypeSize(CType type)
          Given a type return the number of bytes it occupies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCFile

public BCFile()
Method Detail

generate

public static void generate(SpdStreamGraph streamGraph,
                            HashSet<ComputeNode> computeTiles)
Create the bC machine file for the raw simulator that will describe any file I/O and generate automatic performance gathering code.

Parameters:
streamGraph - The stream graph of the application.
computeTiles - The tiles that are assigned to filters (performing useful work).

getTypeSize

public static int getTypeSize(CType type)
Given a type return the number of bytes it occupies.

Parameters:
type - The type.
Returns:
The number of bytes for type.