Skip to content
Related Articles

Related Articles

Improve Article

Difference between Relative and Absolute Deadline of Real-time Task

  • Last Updated : 14 May, 2020
Geek Week

1. Relative Deadline :
The time interval between the start of the task and the completion of the real-time task is known as Relative deadline. It is basically the time interval between arrival and corresponding deadline of the real-time task.
If the arrival time of task is ‘t’ and corresponding deadline of task is ‘t+d’ then,

Relative deadline = d 

2. Absolute Deadline :
The time interval between the time 0 and the completion of the real-time task is known as Relative deadline. It is basically the time interval between time 0 and corresponding deadline of the real-time task.
If the arrival time is ‘t’ and corresponding deadline of task is ‘t+d’ then,

Absolute deadline = t+d 



Difference between Relative and Absolute Deadline of Real-time task :



RELATIVE DEADLINEABSOLUTE 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.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :