| Modifier and Type | Method and Description |
|---|---|
static Set<ProcessingUnit> |
getAssignedCoreForProcess(Process process,
Amalthea model)
Returns the cores the process is assigned to.
|
List<HwFeatureCategory> |
getFeatureCategories(ProcessingUnitDefinition procUnitDef) |
static Set<ISR> |
getISRsMappedToCore(ProcessingUnit core,
Amalthea model)
Returns a set of all ISR mapped to that core
|
static Set<Memory> |
getLabelMapping(Label label)
Set of memories the label is mapped to (should be only one!)
|
static Set<Process> |
getProcessesMappedToCore(ProcessingUnit core,
Amalthea model) |
List<ProcessingUnitDefinition> |
getProcessingUnitDefinitionsForHwCategories(HwFeatureCategory hwFeatureCat,
List<ProcessingUnitDefinition> procUnitDefinitons) |
List<ProcessingUnitDefinition> |
getProcessingUnitDefinitionsForHwFeature(HwFeature feature,
List<ProcessingUnitDefinition> procUnitDefinitons) |
static SchedulerAllocation |
getSchedulerAllocations(Scheduler scheduler,
MappingModel mappingModel) |
static List<TaskAllocation> |
getTaskAllocations(Task task,
Amalthea model)
Returns a list of all allocations of a task
|
static Set<TaskAllocation> |
getTaskAllocationsForScheduler(TaskScheduler taskScheduler,
MappingModel mappingmodel)
Returns a set of all task allocations of a specific scheduler
|
static Set<Task> |
getTasksMappedToCore(ProcessingUnit core,
Amalthea model)
Returns a set of tasks mapped to a core.
|
static boolean |
isMapped(Label label)
Returns boolean if at least a label mapping exists
|
static MemoryMapping |
setLabelMapping(Label label,
Memory mem,
Amalthea model)
Returns a created LabelMapping element which was already added to the model |