Open In App

Difference between Relative and Absolute Deadline of Real-time Task

Improve
Improve
Like Article
Like
Save
Share
Report

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 Absolute 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 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.


Last Updated : 28 Jan, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads