edu.byu.ece.edif.tools.replicate.nmr
Interface DeviceUtilizationTracker

All Known Implementing Classes:
AbstractDeviceUtilizationTracker, XilinxDeviceUtilizationTracker, XilinxVirtex4DeviceUtilizationTracker, XilinxVirtexDeviceUtilizationTracker, XilinxVirtexIIDeviceUtilizationTracker, XilinxVirtexIIProDeviceUtilizationTracker

public interface DeviceUtilizationTracker

An interface for a device utilization tracker.

Version:
$Id: DeviceUtilizationTracker.java 274 2009-05-15 18:11:34Z jonjohn $
Author:
Keith Morgan

Method Summary
 void addSingleCell(EdifCell cell)
           
 void addSingleInstance(EdifCellInstance eci)
           
 void addSingleInstances(java.util.Collection<EdifCellInstance> ecis)
           
 void decrementResourceCount(java.lang.String resourceType)
           
 int getResourceLimit(EdifCell cell)
           
 int getResourceLimit(EdifCellInstance eci)
           
 double getResourceUtilization(EdifCell cell)
           
 double getResourceUtilization(EdifCellInstance eci)
           
 void incrementResourceCount(java.lang.String resourceType)
           
 void nmrCell(EdifCell cell, int replicationFactor)
           
 void nmrInstance(EdifCellInstance eci, int replicationFactor)
           
 void nmrInstancesAsManyAsPossible(java.util.Collection<EdifCellInstance> ecis, int replicationFactor, java.util.Collection<EdifCellInstance> actuallyReplicated)
           
 void nmrInstancesAtomic(java.util.Collection<EdifCellInstance> ecis, int replicationFactor)
           
 void removeNMRInstance(EdifCellInstance eci, int replicationFactor)
           
 void removeNMRInstances(java.util.Collection<EdifCellInstance> ecis, int replicationFactor)
           
 void removeSingleInstance(EdifCellInstance eci)
           
 void removeSingleInstances(java.util.Collection<EdifCellInstance> ecis)
           
 java.lang.String toString()
           
 

Method Detail

addSingleInstance

void addSingleInstance(EdifCellInstance eci)
                       throws OverutilizationEstimatedStopException,
                              OverutilizationHardStopException,
                              UnsupportedResourceTypeException
Throws:
OverutilizationEstimatedStopException
OverutilizationHardStopException
UnsupportedResourceTypeException

addSingleInstances

void addSingleInstances(java.util.Collection<EdifCellInstance> ecis)
                        throws OverutilizationEstimatedStopException,
                               OverutilizationHardStopException,
                               UnsupportedResourceTypeException
Throws:
OverutilizationEstimatedStopException
OverutilizationHardStopException
UnsupportedResourceTypeException

addSingleCell

void addSingleCell(EdifCell cell)
                   throws OverutilizationEstimatedStopException,
                          OverutilizationHardStopException,
                          UnsupportedResourceTypeException
Throws:
OverutilizationEstimatedStopException
OverutilizationHardStopException
UnsupportedResourceTypeException

decrementResourceCount

void decrementResourceCount(java.lang.String resourceType)
                            throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

getResourceLimit

int getResourceLimit(EdifCell cell)
                     throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

getResourceLimit

int getResourceLimit(EdifCellInstance eci)
                     throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

getResourceUtilization

double getResourceUtilization(EdifCell cell)
                              throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

getResourceUtilization

double getResourceUtilization(EdifCellInstance eci)
                              throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

incrementResourceCount

void incrementResourceCount(java.lang.String resourceType)
                            throws OverutilizationEstimatedStopException,
                                   OverutilizationHardStopException,
                                   UnsupportedResourceTypeException
Throws:
OverutilizationEstimatedStopException
OverutilizationHardStopException
UnsupportedResourceTypeException

removeSingleInstance

void removeSingleInstance(EdifCellInstance eci)
                          throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

removeSingleInstances

void removeSingleInstances(java.util.Collection<EdifCellInstance> ecis)
                           throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

removeNMRInstance

void removeNMRInstance(EdifCellInstance eci,
                       int replicationFactor)
                       throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

removeNMRInstances

void removeNMRInstances(java.util.Collection<EdifCellInstance> ecis,
                        int replicationFactor)
                        throws UnsupportedResourceTypeException
Throws:
UnsupportedResourceTypeException

nmrInstance

void nmrInstance(EdifCellInstance eci,
                 int replicationFactor)
                 throws OverutilizationEstimatedStopException,
                        OverutilizationHardStopException,
                        UnsupportedResourceTypeException
Throws:
OverutilizationEstimatedStopException
OverutilizationHardStopException
UnsupportedResourceTypeException

nmrCell

void nmrCell(EdifCell cell,
             int replicationFactor)
             throws OverutilizationEstimatedStopException,
                    OverutilizationHardStopException,
                    UnsupportedResourceTypeException
Throws:
OverutilizationEstimatedStopException
OverutilizationHardStopException
UnsupportedResourceTypeException

nmrInstancesAtomic

void nmrInstancesAtomic(java.util.Collection<EdifCellInstance> ecis,
                        int replicationFactor)
                        throws OverutilizationEstimatedStopException,
                               OverutilizationHardStopException,
                               UnsupportedResourceTypeException
Throws:
OverutilizationEstimatedStopException
OverutilizationHardStopException
UnsupportedResourceTypeException

nmrInstancesAsManyAsPossible

void nmrInstancesAsManyAsPossible(java.util.Collection<EdifCellInstance> ecis,
                                  int replicationFactor,
                                  java.util.Collection<EdifCellInstance> actuallyReplicated)
                                  throws OverutilizationEstimatedStopException,
                                         OverutilizationHardStopException,
                                         UnsupportedResourceTypeException
Throws:
OverutilizationEstimatedStopException
OverutilizationHardStopException
UnsupportedResourceTypeException

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object