harpoon.Instrumentation.AllocationStatistics
Interface AllocationNumberingInterf

All Known Implementing Classes:
AllocationNumbering, AllocationNumberingStub

public interface AllocationNumberingInterf

Objects that implement AllocationNumberingInterf provide unique integer IDs for all allocation sites from a program. Note: the getID method from the Quad class provides an integer that is only locally unique (in the method of that quad).

Version:
$Id: AllocationNumberingInterf.java,v 1.2 2003/02/11 20:16:01 salcianu Exp $
Author:
Alexandru SALCIANU <salcianu@MIT.edu>

Method Summary
 int allocID(Quad q)
           
 

Method Detail

allocID

int allocID(Quad q)
Returns:
a unique identifier for the allocation site q. May throw UnknownAllocationSiteError if the instrumentation has not seen that allocation site when the unique IDs where assigned.