public class EDFSchedulability_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 : EDF
| Constructor and Description |
|---|
EDFSchedulability_edp(SchedulingComponent C,
int resPeriod)
Constructor
It set target component and target period
|
| Modifier and Type | Method and Description |
|---|---|
double |
getBandwidth()
It calculate 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 EDFSchedulability_edp(SchedulingComponent C, int resPeriod) throws java.lang.Exception
period - given periodC - target componentjava.lang.Exceptionpublic double getBandwidth()
throws java.lang.Exception
java.lang.Exceptionnonepublic double getBandwidth2()
throws java.lang.Exception
java.lang.Exceptionpublic double getDeadline(double theta)
throws java.lang.Exception
theta - execution time of given component.java.lang.Exceptionnonepublic double getDeadline2(double theta)
throws java.lang.Exception
java.lang.Exception