Package | Description |
---|---|
designflow |
package contains classes to perform a design flow for a multi-stage mapping and scheduling.
|
platform.model |
package contains components to build a platform model.
|
solver.distributedMemory.constraints |
package contains mapping, scheduling constraints that can be applied to different solvers.
|
solver.distributedMemory.scheduling |
package contains solver for scheduling problem for a distributed memory architecture.
|
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<Cluster,java.lang.Integer> |
DesignFlowSolution.Mapping.clusterToGroupMap
Map of group assigned to a cluster.
|
private java.util.HashMap<Cluster,java.util.HashSet<Processor>> |
DesignFlowSolution.Schedule.clusterUtilizationMap
Map containing utilized processors inside a cluster
|
Modifier and Type | Method and Description |
---|---|
Cluster |
DesignFlowSolution.Schedule.getAllocatedCluster(java.lang.String actr)
Get cluster to which an actor is allocated to.
|
Cluster |
DesignFlowSolution.Mapping.getClusterAllocatedToGroup(int group)
Get the cluster allocated to a group.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Cluster> |
DesignFlowSolution.Mapping.usedClusters()
Get a list of clusters on which there are some actor allocated.
|
Modifier and Type | Method and Description |
---|---|
void |
DesignFlowSolution.Mapping.addGroupToCluster(Cluster cluster,
int group)
Assign a groupe to a cluster.
|
int |
DesignFlowSolution.Schedule.getMaxDmaEnginesUsed(Cluster cluster,
java.lang.String channelName)
Get total number of DMA engines used by producers or consumers of channel.
|
int |
DesignFlowSolution.Schedule.numProcessorsUsed(Cluster cluster)
Get number of processors used in a cluster.
|
Modifier and Type | Field and Description |
---|---|
private Cluster |
DmaEngine.cluster
Cluster to which the DMA engine belongs
|
private Cluster[] |
Memory.cluster
Clusters which can access this memory.
|
private Cluster |
Processor.cluster
Cluster to which this processor belongs to.
|
private Cluster[] |
Platform.clusters
All the Clusters of the platform.
|
private Cluster |
NetworkLink.destinationCluster
Destination cluster of the network link.
|
private Cluster |
NetworkLink.sourceCluster
Source cluster of the network link.
|
Modifier and Type | Method and Description |
---|---|
Cluster |
DmaEngine.getCluster()
Gets Cluster to which the DMA Engine belongs to.
|
Cluster |
Processor.getCluster()
Gets the cluster to which this processor belongs to.
|
Cluster |
Platform.getCluster(int index)
Gets a cluster at particular index.
|
Cluster |
Platform.getCluster(java.lang.String name)
Gets a cluster by its name.
|
Cluster |
NetworkLink.getDestinationCluster()
Gets the destination cluster of the network link.
|
Cluster |
NetworkLink.getSourceCluster()
Gets the source cluster of the network link.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashSet<Cluster> |
Platform.getAllClusters()
Gets all the clusters of the platform
|
Modifier and Type | Method and Description |
---|---|
void |
Memory.addCluster(Cluster cluster)
Add the cluster which can access this memory.
|
void |
Platform.addCluster(Cluster cluster)
Add a cluster component to the platform.
|
int |
Platform.getClusterIndex(Cluster cluster)
Gets index of Cluster in the platform.
|
java.util.HashSet<DmaEngine> |
Platform.getDmaEngine(Cluster cluster)
Gets all the DMA Engines that belong to a cluster.
|
int |
Platform.getMinDistance(Cluster srcCluster,
Cluster dstCluster)
Gets minimum distance between any two given clusters.
|
Constructor and Description |
---|
DmaEngine(java.lang.String name,
int id,
Cluster cluster)
Initialize the DMA Engine component of the platform model.
|
NetworkLink(java.lang.String name,
int id,
int sourcePort,
int destinationPort,
int latency,
Processor srcProcessor,
Processor dstProcessor,
Cluster srcCluster,
Cluster dstCluster)
Initializes the Network Link component of the platform.
|
Processor(java.lang.String name,
int id,
int speed,
int numLinks,
int numMemory,
Cluster cluster)
Initialize the processor component of the platform model.
|
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.String,Cluster> |
SchedulingConstraints.actorsRestrictedToCluster
Actor name as key with cluster as value where it should be allocated.
|
private java.util.HashMap<java.lang.String,Cluster> |
SchedulingConstraints.actorsRestrictedToDmaOfCluster
Actor name as key with DMA of a cluster as value where it should be allocated.
|
Modifier and Type | Method and Description |
---|---|
Cluster |
SchedulingConstraints.getActorAllocatedCluster(java.lang.String actr)
Get a cluster to which an actor is allocated.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<Cluster,java.util.HashSet<java.lang.String>> |
SchedulingConstraints.getActorsMappedToCluster()
Get a map of actors mapped to all the cluster.
|
java.util.HashMap<Cluster,java.util.HashSet<java.lang.String>> |
SchedulingConstraints.getActorsMappedToDmaOfCluster()
Get a map of actors mapped to DMA of the cluster.
|
Modifier and Type | Method and Description |
---|---|
void |
SchedulingConstraints.addActorClusterConstraint(java.lang.String actr,
Cluster cluster)
Add a constraint of actor mapped to a specific cluster.
|
void |
SchedulingConstraints.addActorDmaEngineConstraint(java.lang.String actr,
Cluster cluster)
Add a constraint of actor mapped to a DMA of specific cluster.
|
java.util.HashSet<java.lang.String> |
SchedulingConstraints.getActorsAllocatedToCluster(Cluster cluster)
Get all the actors which are allocated to the cluster.
|
java.util.List<java.lang.String> |
SchedulingConstraints.getActorsAllocatedToDmaOfCluster(Cluster cluster)
Get all the actors allocated to the DMA of a cluster.
|
java.util.HashSet<java.lang.String> |
SchedulingConstraints.getActorsMappedToDmaOfCluster(Cluster cluster)
Get all the actors which are allocated to the DMAs of the cluster.
|
Modifier and Type | Method and Description |
---|---|
private void |
ClusterMutExclNonPipelined.OptimizeSchedule.strictProcSymConstraints(java.util.HashSet<java.lang.String> actrAllocated,
int startProcIndex,
Cluster cluster,
java.util.HashMap<java.lang.String,java.lang.String> model)
Generate strict processor constraint to allocate a new processor only
if the processor with lower index and no empty time slot.
|