harpoon.Analysis.MemOpt
Class IAStatistics

java.lang.Object
  extended by harpoon.Analysis.MemOpt.IAStatistics

public abstract class IAStatistics
extends Object

IAStatistics

Version:
$Id: IAStatistics.java,v 1.13 2004/02/08 03:19:53 cananian Exp $
Author:
Alexandru Salcianu <salcianu@MIT.edu>

Constructor Summary
IAStatistics()
           
 
Method Summary
static void printStatistics(IncompatibilityAnalysis ia, AllocationStatistics as, HCodeFactory hcf_nossa, Linker linker, Frame frame)
          Prints static and dynamic statisticis about the memory preallocation optimization through incompatibility analysis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IAStatistics

public IAStatistics()
Method Detail

printStatistics

public static void printStatistics(IncompatibilityAnalysis ia,
                                   AllocationStatistics as,
                                   HCodeFactory hcf_nossa,
                                   Linker linker,
                                   Frame frame)
Prints static and dynamic statisticis about the memory preallocation optimization through incompatibility analysis.

Parameters:
ia - incompatibility analysis object that tells whether an allocation site is unitary (ie, can be preallocated) or not
as - allocation statistics object that provides the dynamic data: how many times each allocation site was executed
hcf_nossa - factory used to produce the SSI factory used by the IncompatibilityAnalysis ia.
linker - Linker to get the classes
frame - Frame used by the back-end. Useful for computing the size of the objects at runtime.