public class DMSchedulability_edp
extends java.lang.Object
1. Compute optimal bandwidth and deadline
Using schedulability test, it compute optimal bandwidth and deadline
2. transform a resource model into a single task
supported resource model : ARINC, EDP
supported scheduling algorithm : DM
Constructor and Description |
---|
DMSchedulability_edp(SchedulingComponent C,
int resPeriod)
Constructor
It set target component and target period
|
Modifier and Type | Method and Description |
---|---|
double |
getBandwidth()
It calculates optimal bandwidth of given component and given period
by using schedulability test.
|
double |
getBandwidth2() |
double |
getDeadline(double theta)
It calculates optimal bandwidth of given component and given period
by using schedulability test.
|
double |
getDeadline2(double theta) |
public DMSchedulability_edp(SchedulingComponent C, int resPeriod) throws java.lang.Exception
C
- target componentperiod
- given periodjava.lang.Exception
public double getBandwidth() throws java.lang.Exception
java.lang.Exception
none
public double getBandwidth2() throws java.lang.Exception
java.lang.Exception
public double getDeadline(double theta) throws java.lang.Exception
theta
- execution time of given component.java.lang.Exception
none
public double getDeadline2(double theta)