| Modifier and Type | Method and Description |
|---|---|
static Set<Core> |
getAssignedCoreForProcess(Process process,
Amalthea model)
returns the cores the process is assigned to
empty core affinities are ignored otherwise the intersection of core affinity and scheduler responsibility is returned
|
static Set<ISR> |
getISRsMappedToCore(Core 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(Core core,
Amalthea model) |
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(Core 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
|