1.相对截止日期:
任务开始与实时任务完成之间的时间间隔称为“相对期限”。基本上是到达时间和相应的实时任务期限之间的时间间隔。
如果任务的到达时间为“ t”,而任务的相应截止日期为“ t + d”,
Relative deadline = d
2.绝对截止日期:
从时间0到完成实时任务之间的时间间隔称为相对期限。它基本上是时间0与实时任务的相应截止日期之间的时间间隔。
如果到达时间为“ t”,相应的任务期限为“ t + d”,
Absolute deadline = t+d
实时任务的相对截止期限和绝对截止期限之间的区别:
RELATIVE DEADLINE | ABSOLUTE DEADLINE |
---|---|
It is time interval between arrival and corresponding deadline of the task. | It is time interval between time 0 and corresponding deadline of the task. |
It depends on the arrival time of the task. | It does not depend on the arrival time of the task. |
It is mostly used in computational work. | It is not used in computation work. |
If A.T of task is t and deadline is (t+d), relative deadline is ‘d’. | If A.T of task is t and deadline is (t+d), absolute deadline is (t+d). |
It may be less than or equal to absolute deadline. | It is always greater than or equal to relative deadline. |
It is maximum allowed response time of real-time task. | It is sum of release time and relative deadline. |