harpoon.Analysis.MemOpt
Class IAStatistics
java.lang.Object
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IAStatistics
public IAStatistics()
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 notas
- allocation statistics object that provides the
dynamic data: how many times each allocation site was
executedhcf_nossa
- factory used to produce the SSI factory used
by the IncompatibilityAnalysis
ia
.linker
- Linker to get the classesframe
- Frame used by the back-end. Useful for computing
the size of the objects at runtime.