Modifier and Type | Field and Description |
---|---|
protected Map<String,Long> |
metrics |
protected List<Integer> |
parameters |
protected String |
policyName |
protected String |
tasksetType |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMonoProcessorSchedulingPolicy(String tasksetType,
String policyName) |
Modifier and Type | Method and Description |
---|---|
abstract ITask |
chooseNextTask(ITaskSet taskSet,
IEnergyProfile energyProfile,
long date,
EventGenerator evGen) |
Processor[] |
chooseNextTasks(Processor[] processors,
ITaskSet taskSet,
IEnergyProfile energyProfile,
long date,
EventGenerator evGen) |
ITaskSet |
createTaskSet() |
Map<String,Long> |
getMetrics() |
List<Integer> |
getParameters() |
IPartitionManager |
getPartitionManager() |
String |
getPolicyName() |
void |
setParameters(List<Integer> parameters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newInstance
protected final String tasksetType
protected final String policyName
public void setParameters(List<Integer> parameters)
setParameters
in interface ISchedulingPolicy
public List<Integer> getParameters()
getParameters
in interface ISchedulingPolicy
public String getPolicyName()
getPolicyName
in interface ISchedulingPolicy
public ITaskSet createTaskSet()
createTaskSet
in interface ISchedulingPolicy
public Processor[] chooseNextTasks(Processor[] processors, ITaskSet taskSet, IEnergyProfile energyProfile, long date, EventGenerator evGen)
chooseNextTasks
in interface ISchedulingPolicy
public abstract ITask chooseNextTask(ITaskSet taskSet, IEnergyProfile energyProfile, long date, EventGenerator evGen)
public Map<String,Long> getMetrics()
getMetrics
in interface ISchedulingPolicy
public IPartitionManager getPartitionManager()
getPartitionManager
in interface ISchedulingPolicy
Copyright © 2013. All Rights Reserved.