public class SchedulingComponent extends SchComponent
Constructor and Description |
---|
SchedulingComponent(TreeComponent tree_com) |
Modifier and Type | Method and Description |
---|---|
int |
computeDBF_DPRM(double time) |
int |
computeDBF_DPRM(int t,
ResourceModel rm) |
double |
computeDBF(double time,
int resPeriod)
It compute demand in demand bound function at specific time and specific period
|
int |
computeLCM_DPRM() |
double |
computeLCM(int resPeriod)
It compute LCM(Least Common Multiplier) of given period
|
double |
computeMaxDeadline(int resPeriod)
It compute maximum deadline of component of given period
|
double |
computeRBF_arinc(double t1,
double t2,
int index,
int resPeriod) |
double |
computeRBF_SIRAP(double time,
int index,
int period) |
double |
computeRBF(double time,
int index,
int resPeriod)
It compute demand in resource bound function at specific time and specific period
|
double |
computeUtil(int resPeriod)
It compute utilization of component of given period
|
double |
getBlockingOverhead(double t1,
double t2,
int i,
int index,
int resPeriod) |
java.util.Vector<Task> |
getDPRMTasks() |
java.util.Vector<Task> |
getMPRTasks() |
int |
getSize(int resPeriod)
Emulates the original getSize method located in Component
|
java.util.Vector<Task> |
getTasks(int resPeriod)
Emulates the original getTasks method located in Component
|
java.util.Vector<Task> |
getTasksUnsort(int resPeriod) |
void |
showPeriods() |
convertToXML, getAlgorithm, getCriticality, getMaxPeriod, getMinPeriod, getProcessedAlgo, getSubType, getVmipsStr, isDM, isEDF, isLeaf, isRevised, printDebug, printInside, setAlgorithm, setCriticality, setMaxPeriod, setMinPeriod, setProcAlgoRecur, setRevised, setSubType, setVmipsStr, update
public SchedulingComponent(TreeComponent tree_com)
public double computeDBF(double time, int resPeriod)
time
- resPeriod
- public int computeDBF_DPRM(double time)
public int computeDBF_DPRM(int t, ResourceModel rm)
public double computeRBF(double time, int index, int resPeriod)
time
- resPeriod
- public double computeRBF_arinc(double t1, double t2, int index, int resPeriod)
public double getBlockingOverhead(double t1, double t2, int i, int index, int resPeriod)
public double computeRBF_SIRAP(double time, int index, int period)
public double computeLCM(int resPeriod)
time
- resPeriod
- public double computeUtil(int resPeriod)
time
- resPeriod
- public double computeMaxDeadline(int resPeriod)
time
- resPeriod
- public java.util.Vector<Task> getTasks(int resPeriod)
public java.util.Vector<Task> getTasksUnsort(int resPeriod)
public int getSize(int resPeriod)
public java.util.Vector<Task> getDPRMTasks()
public java.util.Vector<Task> getMPRTasks()
public void showPeriods()
public int computeLCM_DPRM()